BTH_HCI_IOCTL_GET_NUM_UNSENT (Compact 2013)
3/26/2014
This I/O control message retrieves the number of packets pending before being sent to the card. Send this message with DeviceIoControl.
Syntax
BOOL DeviceIoControl(
HANDLE hDevice, // handle to device
DWORD dwIoControlCode, // use BTH_HCI_IOCTL_GET_NUM_UNSENT
LPVOID lpInBuffer, // pointer to input buffer
DWORD nInBufferSize, // input buffer size
LPVOID lpOutBuffer, // pointer to output buffer
DWORD nOutBufferSize, // output buffer size
LPDWORD lpBytesReturned, // number of bytes returned
OVERLAPPED lpOverlapped // pointer to OVERLAPPED structure
);
Parameters
- hDevice
The handle to the device.
- dwIoControlCode
[in] Control code for the operation. Use BTH_HCI_IOCTL_GET_NUM_UNSENT for this operation.
- lpInBuffer
[in] Not used; set to NULL.
- nInBufferSize
[in] Not used; set to zero.
- lpOutBuffer
[out] Points to an aligned unsigned integer that receives the number of packets.
- nOutBufferSize
[out] Set to lpOutBuffer.
- lpBytesReturned
[out] Same as nOutBufferSize.
- lpOverlapped
Ignored.
Requirements
Header |
bt_ddi.h |