DdqGetDiagnosticRecordAtIndex function

Fetches diagnostic data record information at the specified index in the resource pointed to by the HDIAGNOSTIC_DATA_RECORD handle.

Syntax

HRESULT DdqGetDiagnosticRecordAtIndex(
  HDIAGNOSTIC_RECORD     hRecord,
  UINT32                 index,
  DIAGNOSTIC_DATA_RECORD *record
);

Parameters

hRecord

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

index

Type: UINT32 Index of the record to be fetched.

record

Type: DIAGNOSTIC_DATA_RECORD* This output parameter is a pointer to the record at the specified index.

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