IOCTL_BTHX_SET_VERSION is used to inform the transport driver of the version of the extensibility interface being used.
Profile drivers should use KMDF and its WdfRequestRetrieveInputMemory method to retrieve input parameters. For example, to get the input buffer:
Status = WdfRequestRetrieveInputMemory(_Request, &ReqInMemory);
The buffer describes a BTHX_VERSION structure.
Refer to the WDK Bluetooth samples for more information.
Input Buffer Length
The length of the buffer is the size of the BTHX_VERSION structure.
Output Buffer Length
Input / Output Buffer
Input / Output Buffer Length
The Information member of the STATUS_BLOCK structure is set to zero because the Bluetooth driver stack returns no data with this IOCTL.
The Status member is set to one of the values in the following table.
|STATUS_SUCCESS||The IOCTL completed successfully.|
Any unsuccessful NT status code prevents the driver from loading.
IOCTL_BTHX_SET_VERSION is a synchronous operation.
Only one version will be selected and set.
|Windows version||Supported starting with Windows 8. Supported starting with Windows 8.|