DdqGetDiagnosticRecordCount function (diagnosticdataquery.h)

Fetches number (size) of diagnostic records in the resource pointed to by the HDIAGNOSTIC_DATA_RECORD handle.

Syntax

HRESULT DdqGetDiagnosticRecordCount(
  HDIAGNOSTIC_RECORD hRecord,
  UINT32             *recordCount
);

Parameters

hRecord

Type: HANDLE Handle to the resource that contains the DIAGNOSTIC_DATA_RECORD list.

recordCount

Type: UINT32 Number of items in the DIAGNOSTIC_DATA_RECORD list.

Return value

Type: HRESULT Returns S_OK on successful completion.

Remarks

For more information about diagnostic data record data type, see DIAGNOSTIC_DATA_RECORD

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