次の方法で共有


HidP_GetCaps (Compact 2013)

3/26/2014

This function returns a top-level collection's HIDP_CAPS structure.

Syntax

NTSTATUS HidP_GetCaps(
  PHIDP_PREPARSED_DATA PreparsedData,
  PHIDP_CAPS Capabilities
);

Parameters

  • PreparsedData
    [in] Pointer to a top-level collection's preparsed data.
  • Capabilities
    [out] Pointer to a caller-allocated buffer that the function uses to return a collection's HIDP_CAPS structure.

Return Value

Returns HIDP_STATUS_SUCCESS if the function successfully returned the capability data. Returns HIDP_STATUS_INVALID_PREPARSED_DATA if the preparsed data is not valid.

Requirements

Header

hidpi.h

Library

Hidparse_lib.lib

See Also

Reference

HID Parser Functions
HIDP_CAPS