HID_DEVICE_ATTRIBUTES structure

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 <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/hidport/ni-hidport-ioctl_hid_get_device_attributes">IOCTL_HID_GET_DEVICE_ATTRIBUTES</a> 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`

        Reserved for internal system use.
    

## Remarks
    The HID class driver uses this structure to obtain device attributes when it sends an <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/hidport/ni-hidport-ioctl_hid_get_device_attributes">IOCTL_HID_GET_DEVICE_ATTRIBUTES</a> request to a HID minidriver.

Requirements

   
Header hidport.h (include Hidport.h)
## See Also

    <a href="https://docs.microsoft.com/windows-hardware/drivers/ddi/hidport/ni-hidport-ioctl_hid_get_device_attributes">IOCTL_HID_GET_DEVICE_ATTRIBUTES</a>