Windows Driver Kit: Human Input Devices
Hardware ID Field Definitions for Top-Level Collections

The fields that are used in HIDClass hardware IDs for top-level collections are as follows.

FieldContainsHexadecimal ValueMeaning
v(4)four hexadecimal digits From 0x0000 to 0xFFFFVendor ID (For a USB device, this field contains the value of the idVendor member of the device descriptor. For all other device types, the vendor ID is generated by the drivers below the HID class driver.)
d(4)four hexadecimal digitsFrom 0x0000 to 0xFFFFProduct ID (For a USB device, the field contains the value of the idProduct member of the device descriptor. For all other device types, the product ID is generated by the drivers that are below the HID class driver.)
r(4)four hexadecimal digitsFrom 0x0000 to 0xFFFFRevision number (For a USB device, the field contains the value of the bcdDevice member of the device descriptor. For all other device types, the revision number is generated by the drivers below the HID class driver.)
z(2)two hexadecimal digitsFrom 0x00 to 0xFFInterface number (Only used with USB devices that are enumerated as composite USB devices.)
b(2)two hexadecimal digitsFrom 0x00 to 0xFFCollection number (The HID class driver assigns a number to each collection, starting with one, in the order in which the collections are specified in a device's report descriptors.)
p(4)four hexadecimal digitsInternal Use Only
u(4)four hexadecimal digitsInternal Use Only


Send feedback on this topic
Built on November 19, 2009
Page view tracker