Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This IOCTL retrieves state of the hardware. The state is TRUE if the hardware is present and initialized.
Parameters
hDeviceContext
[in] Device context handle.fSelector
[in] Equals BTH_STACK_IOCTL_GET_CONNECTED.cInBuffer
[in] Equals 0.pInBuffer
Not used.cOutBuffer
[in] Equals 4.pOutBuffer
[in] Must point to an aligned unsigned integer.[out] Gets hardware state.
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 .NET 4.0 and later.
Header: Bt_ddi.h.
Send Feedback on this topic to the authors