BTH_HCI_IOCTL_GET_REMOTE_COD (Windows CE 5.0)
This IOCTL retrieves the remote class of device (COD) of the peer device.
Parameters
- hDeviceContext
[in] Device context handle. - fSelector
[in] Equals BTH_HCI_IOCTL_GET_REMOTE_COD. - cInBuffer
[in] Equals the size of BD_ADDR that stores the address of the remote device. - pInBuffer
Points to BD_ADDR. - cOutBuffer
[in] Equals the size of UINT. - pOutBuffer
[out] Points to a UNIT type that stores the COD of the remote device. - pcDataReturned
[out] Equals cOutBuffer.
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_INVALID_PARAMETER | Parameters are invalid (buffers are not properly sized). |
ERROR_SERVICE_NOT_ACTIVE | HCI is not active or there is no hardware. |
Requirements
OS Versions: Windows CE 5.0 and later.
Header: Bt_ddi.h
Send Feedback on this topic to the authors