BTH_HCI_IOCTL_GET_BASEBAND_HANDLES (Windows Embedded CE 6.0)
1/6/2010
This IOCTL retrieves baseband connections that are currently active.
Parameters
- hDeviceContext
[in] Device context handle.
- fSelector
[in] Equals BTH_HCI_IOCTL_GET_BASEBAND_HANDLES.
- cInBuffer
[in] Equals 0.
- pInBuffer
Not used.
- cOutBuffer
[in] Equals sizeof(unsigned short) *maximum number of handles.
- pOutBuffer
[out] Contains InquiryResultBuffer structure.
- pcDataReturned
[out] Contains the size of returned data in bytes.
Return Values
If the call succeeds, the return value is ERROR_SUCCESS.
If the function fails, the following table shows a list of possible error values.
Error value | Description |
---|---|
ERROR_INSUFFICIENT_BUFFER |
There is not enough buffer space to retrieve all connections. The pcDataReturned parameter contains the required size. |
ERROR_INVALID_PARAMETER |
Parameters are invalid (buffers are not properly sized). |
ERROR_SERVICE_NOT_ACTIVE |
HCI is not active or there is no hardware. |
Requirements
Header | bt_ddi.h |
Windows Embedded CE | Windows CE .NET 4.0 and later |