HIDDeviceNotifications

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

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This function enables HID device notifications. It is required for HID client drivers.

Syntax

BOOL HIDDeviceNotifications(
  DWORD dwMsg, 
  WPARAM wParam,
  PVOID pvNotifyParameter
);

Parameters

  • dwMsg
    [in] Notification code. The only supported notification code is HID_CLOSE_DEVICE. When HID_CLOSE_DEVICE is sent, wParam is zero to specify that it is unused.
  • wParam
    [in] Message parameter.
  • pvNotifyParameter
    [out] Client-supplied value.

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

All HID client drivers must expose this function.

Requirements

Header hiddi.h
Library Conshid_lib.lib, Kbdhid_lib.lib, Mouhid_lib.lib
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

HID Driver Registry Settings
HIDDeviceAttach