Skip to content

Latest commit

 

History

History
120 lines (86 loc) · 3.08 KB

nc-hidclass-phidp_getcaps.md

File metadata and controls

120 lines (86 loc) · 3.08 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NC:hidclass.PHIDP_GETCAPS
PHIDP_GETCAPS (hidclass.h)
The HidP_GetCaps routine returns a top-level collection's HIDP_CAPS structure. This routine is in hidclass.h.
hid\hidp_getcaps.htm
hid
04/30/2018
PHIDP_GETCAPS callback function
HidP_GetCaps, HidP_GetCaps callback function [Human Input Devices], PHIDP_GETCAPS, PHIDP_GETCAPS callback, hid.hidp_getcaps, hidfunc_420188e5-e357-43cc-b195-dea7637fd3c9.xml, hidpi/HidP_GetCaps
hidclass.h
Hidclass.h
Universal
Available in Windows 2000 and later versions of Windows.
PASSIVE_LEVEL
Windows
PHIDP_GETCAPS
hidclass/PHIDP_GETCAPS
APIRef
kbSyntax
UserDefined
hidpi.h
PHIDP_GETCAPS

PHIDP_GETCAPS callback function

-description

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

-parameters

-param PreparsedData [in]

Pointer to a top-level collection's preparsed data.

-param Capabilities [out]

Pointer to a caller-allocated buffer that the routine uses to return a collection's HIDP_CAPS structure.

-returns

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