DdqGetDiagnosticReportAtIndex function (diagnosticdataquery.h)
Fetches an error report and its information at the specified index in the resource pointed to by the HDIAGNOSTIC_REPORT_DATA handle.
Syntax
HRESULT DdqGetDiagnosticReportAtIndex(
HDIAGNOSTIC_REPORT hReport,
UINT32 index,
DIAGNOSTIC_REPORT_DATA *report
);
Parameters
hReport
Type: HANDLE Handle to the resource with the set of problem reports.
index
Type: UINT32 The index of the error report to fetch.
report
Type: DIAGNOSTIC_DATA_REPORT_DATA* This output parameter is a pointer to the resource that contains information about the fetched diagnostic report.
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 |