HidD_GetAttributes function

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

Syntax

BOOLEAN HidD_GetAttributes(
  HANDLE           HidDeviceObject,
  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.

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.

Requirements

   
Windows version Available in Windows 2000 and later versions of Windows.
Target Platform Universal
Header hidsdi.h (include Hidsdi.h)
Library Hid.lib
DLL Hid.dll

See Also

HIDD_ATTRIBUTES

IOCTL_HID_GET_COLLECTION_INFORMATION