DdqGetDiagnosticReportCount function (diagnosticdataquery.h)

Fetches the number (size) of error reports in the resource pointed to by HDIAGNOSTIC_REPORT_DATA handle.

Syntax

HRESULT DdqGetDiagnosticReportCount(
  HDIAGNOSTIC_REPORT hReport,
  UINT32             *reportCount
);

Parameters

hReport

Type: HANDLE Handle to the resource that contains the set of error reports.

reportCount

Type: UINT32* Pointer to the number of error reports.

Return value

Type: HRESULT Returns S_OK on successful completion.

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