HIDDeviceNotifications

This function is a required entry point for the HID driver to provide notifications.

BOOL WINAPI 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 unused.
  • wParam
    [in] Message parameter.
  • pvNotifyParameter
    [out] Client-supplied value.

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 | HIDDeviceAttach

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.