HID_DEVICE_ATTRIBUTES structure (hidport.h)

The HID_DEVICE_ATTRIBUTES structure contains information about a HIDClass device.

Syntax

typedef struct _HID_DEVICE_ATTRIBUTES {
  ULONG  Size;
  USHORT VendorID;
  USHORT ProductID;
  USHORT VersionNumber;
  USHORT Reserved[11];
} HID_DEVICE_ATTRIBUTES, *PHID_DEVICE_ATTRIBUTES;

Members

Size

Specifies the size of the structure. This member should be treated as read-only when a HID minidriver uses this structure to complete an IOCTL_HID_GET_DEVICE_ATTRIBUTES request.

VendorID

Specifies a HID device's vendor ID.

ProductID

Specifies a HID device's product ID.

VersionNumber

Specifies the manufacturer's revision number for a HID device.

Reserved[11]

Reserved for internal system use.

Remarks

The HID class driver uses this structure to obtain device attributes when it sends an IOCTL_HID_GET_DEVICE_ATTRIBUTES request to a HID minidriver.

Requirements

Requirement Value
Header hidport.h (include Hidport.h)

See also

IOCTL_HID_GET_DEVICE_ATTRIBUTES