HidP_GetCaps - NtDoc

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

NTSTATUS HidP_GetCaps(
  [in]  PHIDP_PREPARSED_DATA PreparsedData,
  [out] PHIDP_CAPS           Capabilities
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-hidpi-hidp_getcaps)

HidP_GetCaps function

Description

The HidP_GetCaps routine returns a top-level collection's HIDP_CAPS structure.

Parameters

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.

Return value

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.

Remarks

For more information about a collection's capability, see Obtaining Collection Information.

See also HID Collections.

See also

HIDP_CAPS

HidD_GetPreparsedData

IOCTL_HID_GET_COLLECTION_DESCRIPTOR

IOCTL_HID_GET_COLLECTION_INFORMATION

_HIDP_PREPARSED_DATA