DdqGetDiagnosticReportStoreReportCount function

Fetches the number (size) of reports stored in the requested store.

Syntax

HRESULT DdqGetDiagnosticReportStoreReportCount(
  HDIAGNOSTIC_DATA_QUERY_SESSION hSession,
  UINT32                         reportStoreType,
  UINT32                         *reportCount
);

Parameters

hSession

Type: HANDLE Handle to the Diagnostic Data Query session.

reportStoreType

Type: UINT32 The type of report store to extract from. See remarks.

reportCount

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

Return value

Type: HRESULT Returns S_OK on successful completion.

Requirements

   
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