HidD_FreePreparsedData function

The HidD_FreePreparsedData routine releases the resources that the HID class driver allocated to hold a top-level collection's preparsed data.

Syntax

BOOLEAN HidD_FreePreparsedData(
  PHIDP_PREPARSED_DATA PreparsedData
);

Parameters

PreparsedData

Pointer to the buffer, returned by HidD_GetPreparsedData, that is freed.

Return Value

HidD_FreePreparsedData returns TRUE if it succeeds. Otherwise, it returns FALSE if the buffer was not a preparsed data buffer. Use GetLastError to get extended error information.

Remarks

Only user-mode applications can call HidD_FreePreparsedData.

To obtain a collection's preparsed data, use HidD_GetPreparsedData.

For more information, see HID Collections.

Requirements

   
Minimum supported client Available in Windows 2000 and later versions of Windows.
Target Platform Universal
Header hidsdi.h (include Hidsdi.h)
Library Hid.lib
DLL Hid.dll

See Also

HidD_GetPreparsedData

_HIDP_PREPARSED_DATA