Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This function 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.
ULONG HidP_MaxDataListLength( HIDP_REPORT_TYPE ReportType, PHIDP_PREPARSED_DATA PreparsedData);
Parameters
- ReportType
[in] HIDP_REPORT_TYPE enumerator value that indicates the report type. - PreparsedData
[in] Pointer to a top-level collection's preparsed data.
Return Values
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 function returns zero, which indicates that either the report type or the preparsed data is not valid.
Remarks
HID client drivers call HidP_MaxDataListLength to determine the maximum number of HIDP_DATA structures that HidP_GetData can return.
Requirements
OS Versions: Windows CE .NET 4.2 and later.
Header: Hidpi.h.
Link Library: Hidparse_lib.lib.
See Also
HIDP_DATA | HidP_GetData | HIDP_REPORT_TYPE | HidP_SetData
Send Feedback on this topic to the authors