Partager via


HIDDeviceNotifications (Windows Embedded CE 6.0)

1/6/2010

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 Functions
HID Driver Registry Settings
HIDDeviceAttach