SCO_DISCONNECT_REASON enumeration (bthddi.h)
The SCO_DISCONNECT_REASON enumeration type gives the reason an SCO channel has been disconnected.
Syntax
typedef enum _SCO_DISCONNECT_REASON {
ScoHciDisconnect,
ScoDisconnectRequest,
ScoRadioPoweredDown,
ScoHardwareRemoval
} SCO_DISCONNECT_REASON, *PSCO_DISCONNECT_REASON;
Constants
ScoHciDisconnect This value specifies to the profile driver that the Bluetooth driver stack has received a disconnect notification from the host controller interface (HCI) layer. |
ScoDisconnectRequest This value specifies to the profile driver that a disconnect request has been received from the remote device. |
ScoRadioPoweredDown This value specifies to the profile driver that the local radio has been turned off. |
ScoHardwareRemoval This value specifies to the profile driver that the local radio has been physically removed. |
Remarks
A value from this enumeration is used as the Reason member of the SCO_INDICATION_PARAMETERS structure.
Hardware limitations may prevent the Bluetooth driver stack from distinguishing between ScoRadioPoweredDown and ScoHardwareRemoval events.
Currently, ScoHciDisconnect is the only value the Bluetooth driver stack passes to the SCO Callback Function.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Versions:_Supported in Windows Vista and later versions of Windows. |
Header | bthddi.h (include Bthddi.h) |