// bthxddi.h
// CTL_CODE(0x0041, 0x102, METHOD_NEITHER, FILE_ANY_ACCESS)
#define IOCTL_BTHX_QUERY_CAPABILITIES 0x0041040B
View the official Windows Driver Kit DDI referenceNo description available.
IOCTL_BTHX_QUERY_CAPABILITIES is used to query the capabilities of the transport driver.
None.
None.
The AssociatedIrp.SystemBuffer member points to a buffer that holds a BTHX_CAPABILITIES structure.
The length of the buffer is the size of the BTHX_CAPABILITIES structure.
The Information member of the STATUS_BLOCK structure is set to the size of the structure.
The Status member is set to one of the values in the following table.
| Status value | Description |
|---|---|
| STATUS_SUCCESS | The IOCTL completed successfully. |
During startup, the Bluetooth stack sends IOCTL_BTHX_QUERY_CAPABILITIES to query the capabilities of the transport driver.
This is a synchronous call and failure of this IOCTL prevents Windows from loading the Bluetooth stack.
The output buffer of this IOCTL is defined by the BTHX_CAPABILITIES structure.
The MaxScoChannels member must be set to 1. The ScoSupport member must be set to ScoSupportHCIBypass. Failure to do so prevents the stack from being loaded.