DdqFreeDiagnosticRecordProducerCategories function (diagnosticdataquery.h)

Frees memory allocated for set of categories and the text representation of the categories referenced by HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION handle.

Syntax

HRESULT DdqFreeDiagnosticRecordProducerCategories(
  HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION hCategoryDescription
);

Parameters

hCategoryDescription

Type: HANDLE Handle to the resource that contains the set of categories and their descriptions to be freed.

Return value

Type: HRESULT Returns S_OK on successful completion.

Remarks

For more information about the data type DIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION, see here.

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004 (10.0; Build 19041)
Minimum supported server Windows Server, version 2004 (10.0; Build 19041)
Header diagnosticdataquery.h