Share via


BTHHID_IOCTL_HIDDisconnect

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This IOCTL connects the HID class driver on the host to the peer device.

Parameters

  • hDeviceContext
    [in] Device context handle.
  • fSelector
    [in] Equals BTHHID_IOCTL_HIDConnect.
  • cInBuffer
    [in] Equals the size of BT_ADDR.
  • pInBuffer
    Points to the address of the Bluetooth-enabled HID as a BT_ADDR type.
  • cOutBuffer
    Not used.
  • pOutBuffer
    Not used.
  • pcDataReturned
    Not used.

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

Header bthid.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Concepts

Human Interface Device (HID) Profile