RID_DEVICE_INFO_HID structure (winuser.h)

Defines the raw input data coming from the specified Human Interface Device (HID).

Syntax

typedef struct tagRID_DEVICE_INFO_HID {
  DWORD  dwVendorId;
  DWORD  dwProductId;
  DWORD  dwVersionNumber;
  USHORT usUsagePage;
  USHORT usUsage;
} RID_DEVICE_INFO_HID, *PRID_DEVICE_INFO_HID;

Members

dwVendorId

Type: DWORD

The vendor identifier for the HID.

dwProductId

Type: DWORD

The product identifier for the HID.

dwVersionNumber

Type: DWORD

The version number for the HID.

usUsagePage

Type: USHORT

The top-level collection Usage Page for the device.

usUsage

Type: USHORT

The top-level collection Usage for the device.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header winuser.h (include Windows.h)

See also

Conceptual

RID_DEVICE_INFO

Raw Input

Reference