Partager via


BTHHID_IOCTL_HIDDisconnect (Windows Embedded CE 6.0)

1/6/2010

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

Bluetooth OS IOCTLs
Human Interface Device (HID) Profile