Compartilhar via


BTHHID_IOCTL_HIDConnect (Windows CE 5.0)

Send Feedback

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Bthid.h.

See Also

Human Interface Device (HID) Profile

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.