HIDD_ATTRIBUTES structure (hidsdi.h)

The HIDD_ATTRIBUTES structure contains vendor information about a HIDClass device.

Syntax

typedef struct _HIDD_ATTRIBUTES {
  ULONG  Size;
  USHORT VendorID;
  USHORT ProductID;
  USHORT VersionNumber;
} HIDD_ATTRIBUTES, *PHIDD_ATTRIBUTES;

Members

Size

Specifies the size, in bytes, of a HIDD_ATTRIBUTES structure.

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 HIDClass device.

Remarks

A caller of HidD_GetAttributes, uses this structure to obtain a device's vendor information.

Before using a HIDD_ATTRIBUTES structure with HIDClass support routines, the caller must set the Size member.

Requirements

Requirement Value
Header hidsdi.h (include Hidsdi.h)

See also

HidD_GetAttributes