DdqCancelDiagnosticRecordOperation function (diagnosticdataquery.h)

Cancels all outstanding Diagnostic Data Query API internal query operations for this session. This can be called from another thread to interrupt long running Query APIs.

Syntax

HRESULT DdqCancelDiagnosticRecordOperation(
  HDIAGNOSTIC_DATA_QUERY_SESSION hSession
);

Parameters

hSession

Type: HANDLE Handle to the Diagnostic Data Query session.

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