Share via


HIDDeviceNotifications (Compact 2013)

3/26/2014

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

See Also

Reference

HID Driver Functions
HID Driver Registry Settings
HIDDeviceAttach