GetHIDReportDescriptor()

Syntax

*Buffer = GetHIDReportDescriptor(#HID)
Description
Get the HID report descriptor from the device as memory buffer.

Parameters

#HID The HID device to query.

Return value

Returns the report descriptor as a memory buffer. To get the size of the descriptor, use MemorySize(). Once the descriptor is no more needed, it can be freed with FreeMemory().

Remarks

The report descriptor describes the data format and capabilities of the HID device.

Supported OS

All

<- GetHIDIndexedString() - HID Index - HIDError() ->