HidD_GetAttributes
The HidD_GetAttributes routine returns the attributes of a specified top-level collection.
BOOLEAN
HidD_GetAttributes(
IN HANDLE HidDeviceObject,
OUT PHIDD_ATTRIBUTES Attributes
);
Parameters
HidDeviceObject
Specifies an open handle to a top-level collection.
Attributes
Pointer to a caller-allocated HIDD_ATTRIBUTES structure that returns the attributes of the collection specified by HidDeviceObject.
Return Value
HidD_GetAttributes returns TRUE if succeeds; otherwise, it returns FALSE.
Headers
Declared in hidsdi.h. Include hidsdi.h.
Comments
Only user-mode applications can call HidD_GetAttributes. Kernel-mode drivers can use IOCTL_HID_GET_COLLECTION_INFORMATION.
For more information, see HID Concepts, HID Collections, and Operating HID Collections.