HidD_GetAttributes - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// hidsdi.h

BOOLEAN HidD_GetAttributes(
  [in]  HANDLE           HidDeviceObject,
  [out] PHIDD_ATTRIBUTES Attributes
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-hidsdi-hidd_getattributes)

HidD_GetAttributes function

Description

The HidD_GetAttributes routine returns the attributes of a specified top-level collection.

Parameters

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.

Return value

HidD_GetAttributes returns TRUE if succeeds; otherwise, it returns FALSE.

Remarks

Only user-mode applications can call HidD_GetAttributes. Kernel-mode drivers can use IOCTL_HID_GET_COLLECTION_INFORMATION.

For more information, see HID Collections.

See also

HIDD_ATTRIBUTES

IOCTL_HID_GET_COLLECTION_INFORMATION