DdqGetDiagnosticReport function (diagnosticdataquery.h)
Fetches error reports uploaded or enqueued for upload from this PC via HDIAGNOSTIC_REPORT_DATA handle.
Syntax
HRESULT DdqGetDiagnosticReport(
HDIAGNOSTIC_DATA_QUERY_SESSION hSession,
UINT32 reportStoreType,
HDIAGNOSTIC_REPORT *hReport
);
Parameters
hSession
Type: HANDLE Handle to the Diagnostic Data Query session.
reportStoreType
Type: UINT32 The type of report store to extract from. See remarks.
hReport
Type: HANDLE* This output parameter is a pointer to the handle for the resource that contains the known set of problem reports.
Return value
Type: HRESULT Returns S_OK on successful completion.
Remarks
For report store types, see the WER APIs.
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 |