// hidsdi.h
BOOLEAN HidD_GetAttributes(
[in] HANDLE HidDeviceObject,
[out] PHIDD_ATTRIBUTES Attributes
);
View the official Windows Driver Kit DDI referenceNo description available.
The HidD_GetAttributes routine returns the attributes of a specified top-level collection.
HidDeviceObject [in]Specifies an open handle to a top-level collection.
Attributes [out]Pointer to a caller-allocated HIDD_ATTRIBUTES structure that returns the attributes of the collection specified by HidDeviceObject.
HidD_GetAttributes returns TRUE if succeeds; otherwise, it returns FALSE.
Only user-mode applications can call HidD_GetAttributes. Kernel-mode drivers can use IOCTL_HID_GET_COLLECTION_INFORMATION.
For more information, see HID Collections.
IOCTL_HID_GET_COLLECTION_INFORMATION