// hidpi.h
NTSTATUS HidP_GetCaps(
[in] PHIDP_PREPARSED_DATA PreparsedData,
[out] PHIDP_CAPS Capabilities
);
View the official Windows Driver Kit DDI referenceNo description available.
The HidP_GetCaps routine returns a top-level collection's HIDP_CAPS structure.
PreparsedData [in]Pointer to a top-level collection's preparsed data.
Capabilities [out]Pointer to a caller-allocated buffer that the routine uses to return a collection's HIDP_CAPS structure.
HidP_GetCaps returns one of the following status values:
| Return code | Description |
|---|---|
| HIDP_STATUS_SUCCESS | The routine successfully returned the collection capability information. |
| HIDP_STATUS_INVALID_PREPARSED_DATA | The specified preparsed data is invalid. |
For more information about a collection's capability, see Obtaining Collection Information.
See also HID Collections.
IOCTL_HID_GET_COLLECTION_DESCRIPTOR
IOCTL_HID_GET_COLLECTION_INFORMATION