DdqGetSessionAccessLevel function

Returns the data access level of the current Diagnostic Data Query session.

Syntax

HRESULT DdqGetSessionAccessLevel(
  HDIAGNOSTIC_DATA_QUERY_SESSION hSession,
  DdqAccessLevel                 *accessLevel
);

Parameters

hSession

Type: HANDLE Handle to the Diagnostic Data Query session.

accessLevel

Type: DdqAccessLevel* This output parameter is the pointer to the access level for this session.

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