DdqCreateSession function (diagnosticdataquery.h)
Creates a Diagnostic Data Query API session handle to be used to uniquely identify a Diagnostic Data Query session.
Syntax
HRESULT DdqCreateSession(
DdqAccessLevel accessLevel,
HDIAGNOSTIC_DATA_QUERY_SESSION *hSession
);
Parameters
accessLevel
Type: DdqAccessLevel The access level desired for this session.
hSession
Type: HANDLE This output parameter is a handle to the created 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 |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for