Skip to content

Latest commit

 

History

History
87 lines (60 loc) · 3.34 KB

nf-hidpi-hidp_maxdatalistlength.md

File metadata and controls

87 lines (60 loc) · 3.34 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
NF:hidpi.HidP_MaxDataListLength
HidP_MaxDataListLength function (hidpi.h)
The HidP_MaxDataListLength routine returns the maximum number of HIDP_DATA structures that HidP_GetData can return for a specified type of HID report and a specified top-level collection.
hid\hidp_maxdatalistlength.htm
hid
04/30/2018
HidP_MaxDataListLength function
HidP_MaxDataListLength, HidP_MaxDataListLength routine [Human Input Devices], hid.hidp_maxdatalistlength, hidfunc_2c103c6f-6177-47b3-9d52-9e15c97d758d.xml, hidpi/HidP_MaxDataListLength
hidpi.h
Hidpi.h
Universal
Available in Windows 2000 and later versions of Windows.
Hidparse.lib
<= DISPATCH_LEVEL
Windows
HidP_MaxDataListLength
hidpi/HidP_MaxDataListLength
APIRef
kbSyntax
LibDef
Hidparse.lib
Hidparse.dll
HidP_MaxDataListLength

HidP_MaxDataListLength function

-description

The HidP_MaxDataListLength routine returns the maximum number of HIDP_DATA structures that HidP_GetData can return for a specified type of HID report and a specified top-level collection.

-parameters

-param ReportType [in]

Specifies a HIDP_REPORT_TYPE enumerator value that indicates the report type.

-param PreparsedData [in]

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

-returns

If successful, HidP_MaxDataListLength returns the maximum number of HIDP_DATA structures that HidP_GetData might return for a specified type of HID report and a specified top-level collection. Otherwise, the routine returns zero, which indicates that either the report type or the preparsed data is not valid.

-remarks

User-mode applications or kernel-mode drivers call HidP_MaxDataListLength to determine the maximum number of HIDP_DATA structures that HidP_GetData can return.

For more information, see HID Collections.

-see-also

HIDP_DATA

HidP_GetData

HidP_SetData

_HIDP_PREPARSED_DATA