DdqCloseSession function (diagnosticdataquery.h)

Closes a Diagnostic Data Query session handle.

Syntax

HRESULT DdqCloseSession(
  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