HIDDeviceAttach
This function is a HID device-attach function and is required for HID client drivers.
BOOL WINAPI HidDeviceAttach(
HID_HANDLE hDevice,
PCHID_FUNCS pHidFuncs,
const HID_DRIVER_SETTINGS* pDriverSettings,
PHIDP_PREPARSED_DATA phidpPreparsedData,
PVOID* ppvNotifyParameter,
DWORD dwUnused
);
Parameters
- hDevice
[in] Handle to a HID device. - pHidFuncs
[in] Pointer to a HID function table. - pDriverSettings
[in] Pointer to a HID_DRIVER_SETTINGS structure that indicates how the driver is loaded. - phidpPreparsedData
[in] Pointer to a HIDP_PREPARSED_DATA structure. - ppvNotifyParameter
[out] Client-supplied value. - dwUnused
[in] Reserved for use with future versions of HID drivers.
Return Values
TRUE indicates success. FALSE indicates failure.
Requirements
OS Versions: Windows CE .NET 4.2 and later.
Header: Hiddi.h.
Link Library: Conshid_lib.lib, Kbdhid_lib.lib, or Mouhid_lib.lib.
See Also
HID Drivers | HIDDeviceNotifications
Last updated on Tuesday, May 18, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.