// bthddi.h
typedef enum _SCO_DISCONNECT_REASON {
ScoHciDisconnect,
ScoDisconnectRequest,
ScoRadioPoweredDown,
ScoHardwareRemoval
} SCO_DISCONNECT_REASON, *PSCO_DISCONNECT_REASON;
View the official Windows Driver Kit DDI referenceNo description available.
The SCO_DISCONNECT_REASON enumeration type gives the reason an SCO channel has been disconnected.
ScoHciDisconnectThis value specifies to the profile driver that the Bluetooth driver stack has received a disconnect notification from the host controller interface (HCI) layer.
ScoDisconnectRequestThis value specifies to the profile driver that a disconnect request has been received from the remote device.
ScoRadioPoweredDownThis value specifies to the profile driver that the local radio has been turned off.
ScoHardwareRemovalThis value specifies to the profile driver that the local radio has been physically removed.
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.