Export (0) Print
Expand All

HidD_GetAttributes routine

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

Syntax


BOOLEAN __stdcall HidD_GetAttributes(
  _In_   HANDLE           HidDeviceObject,
  _Out_  PHIDD_ATTRIBUTES Attributes
);

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.

Requirements

Target platform

Universal

Version

Available in Windows 2000 and later versions of Windows.

Header

Hidsdi.h (include Hidsdi.h)

Library

Hid.lib

DLL

Hid.dll

See also

HIDD_ATTRIBUTES
IOCTL_HID_GET_COLLECTION_INFORMATION

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft