DdqGetDiagnosticDataAccessLevelAllowed function (diagnosticdataquery.h)

Returns the highest available data access level for the API caller. This can be NoData, CurrentUserData or AllUserData.

Syntax

HRESULT DdqGetDiagnosticDataAccessLevelAllowed(
  DdqAccessLevel *accessLevel
);

Parameters

accessLevel

Type: DdqAccessLevel* This output parameter is a pointer to the highest access level available for the API caller.

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