// bthioctl.h
// CTL_CODE(0x0041, 0x002, METHOD_NEITHER, FILE_ANY_ACCESS)
#define IOCTL_INTERNAL_BTHENUM_GET_DEVINFO 0x0041000B
View the official Windows Driver Kit DDI referenceNo description available.
The IOCTL_INTERNAL_BTHENUM_GET_DEVINFO request returns information about the remote device that caused the Plug and Play (PnP) manager to load the current instance of the profile driver.
IRP_MJ_INTERNAL_DEVICE_CONTROL
None.
None.
The AssociatedIrp.SystemBuffer member points to a buffer that holds a BTH_DEVICE_INFO structure that contains information about the device's state, the device's address, and class of device (CoD).
The length of a BTH_DEVICE_INFO structure.
If the request is successful, the Information member of the STATUS_BLOCK structure is set to the size, in bytes, of the output buffer. Otherwise, the Information member is set to zero.
The Status member is set to one of the values in the following table.
| Status value | Description |
|---|---|
| STATUS_SUCCESS | The IOCTL completed successfully. |
| STATUS_INVALID_BUFFER_SIZE | The output buffer was sized incorrectly. |