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.
Input Buffer Length
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).
Output Buffer Length
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_SUCCESS||The IOCTL completed successfully.|
|STATUS_INVALID_BUFFER_SIZE||The output buffer was sized incorrectly.|
|Windows version||Versions:_Supported in Windows Vista, and later.|
|Header||bthioctl.h (include Bthioctl.h)|