IOCTL_BTHX_SET_VERSION IOCTL

IOCTL_BTHX_SET_VERSION is used to inform the transport driver of the version of the extensibility interface being used.

Major Code

IRP_MJ_DEVICE_CONTROL

Input Buffer

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

None.

Output Buffer Length

None.

Input / Output Buffer

Input / Output Buffer Length

Status Block

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 value Description
STATUS_SUCCESS The IOCTL completed successfully.

Any unsuccessful NT status code prevents the driver from loading.

Remarks

IOCTL_BTHX_SET_VERSION is a synchronous operation.

Only one version will be selected and set.

Requirements

   
Windows version Supported starting with Windows 8. Supported starting with Windows 8.
Header bthxddi.h
IRQL "<= PASSIVE_LEVEL"