DdqFreeDiagnosticReport function (diagnosticdataquery.h)

Frees memory allocated for error reports referenced by HDIAGNOSTIC_REPORT_DATA handle.

Syntax

HRESULT DdqFreeDiagnosticReport(
  HDIAGNOSTIC_REPORT hReport
);

Parameters

hReport

Type: HANDLE The handle to the resource that contains the set of error reports to be freed.

Return value

Type: HRESULT Returns S_OK on successful completion.

Remarks

For information the datatype DIAGNOSTIC_REPORT_DATA, 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