HidD_FreePreparsedData function (hidsdi.h)

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(
  [in] PHIDP_PREPARSED_DATA PreparsedData
);

Parameters

[in] 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

Requirement Value
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