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.
| Field | Contains | Hex Value | Meaning |
| v(4) | four hex digits | From 0x0000 to 0xFFFF | Vendor 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 hex digits | From 0x0000 to 0xFFFF | Product 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 hex digits | From 0x0000 to 0xFFFF | Revision 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 hex digits | From 0x00 to 0xFF | Interface number (Only used with USB devices that are enumerated as composite USB devices.) |
| b(2) | two hex digits | From 0x00 to 0xFF | Collection 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 hex digits | | Internal Use Only |
| u(4) | four hex digits | | Internal Use Only |