// hidpi.h
typedef struct _HIDP_CAPS {
USAGE Usage;
USAGE UsagePage;
USHORT InputReportByteLength;
USHORT OutputReportByteLength;
USHORT FeatureReportByteLength;
USHORT Reserved[17];
USHORT NumberLinkCollectionNodes;
USHORT NumberInputButtonCaps;
USHORT NumberInputValueCaps;
USHORT NumberInputDataIndices;
USHORT NumberOutputButtonCaps;
USHORT NumberOutputValueCaps;
USHORT NumberOutputDataIndices;
USHORT NumberFeatureButtonCaps;
USHORT NumberFeatureValueCaps;
USHORT NumberFeatureDataIndices;
} HIDP_CAPS, *PHIDP_CAPS;
View the official Windows Driver Kit DDI referenceNo description available.
The HIDP_CAPS structure contains information about a top-level collection's capability.
UsageSpecifies a top-level collection's usage ID.
UsagePageSpecifies the top-level collection's usage page.
InputReportByteLengthSpecifies the maximum size, in bytes, of all the input reports. Includes the report ID, which is prepended to the report data. If report ID is not used, the ID value is zero.
OutputReportByteLengthSpecifies the maximum size, in bytes, of all the output reports. Includes the report ID, which is prepended to the report data. If report ID is not used, the ID value is zero.
FeatureReportByteLengthSpecifies the maximum length, in bytes, of all the feature reports. Includes the report ID, which is prepended to the report data. If report ID is not used, the ID value is zero.
ReservedReserved for internal system use.
NumberLinkCollectionNodesSpecifies the number of HIDP_LINK_COLLECTION_NODE structures that are returned for this top-level collection by HidP_GetLinkCollectionNodes.
NumberInputButtonCapsSpecifies the number of input HIDP_BUTTON_CAPS structures that HidP_GetButtonCaps returns.
NumberInputValueCapsSpecifies the number of input HIDP_VALUE_CAPS structures that HidP_GetValueCaps returns.
NumberInputDataIndicesSpecifies the number of data indices assigned to buttons and values in all input reports.
NumberOutputButtonCapsSpecifies the number of output HIDP_BUTTON_CAPS structures that HidP_GetButtonCaps returns.
NumberOutputValueCapsSpecifies the number of output HIDP_VALUE_CAPS structures that HidP_GetValueCaps returns.
NumberOutputDataIndicesSpecifies the number of data indices assigned to buttons and values in all output reports.
NumberFeatureButtonCapsSpecifies the total number of feature HIDP_BUTTONS_CAPS structures that HidP_GetButtonCaps returns.
NumberFeatureValueCapsSpecifies the total number of feature HIDP_VALUE_CAPS structures that HidP_GetValueCaps returns.
NumberFeatureDataIndicesSpecifies the number of data indices assigned to buttons and values in all feature reports.
Callers of the HIDClass support routines use the information provided in this structure when a called routine requires, as input, the size of a report type, the number of link collection nodes, the number of control capabilities, or the number of data indices.