DdqSetTranscriptConfiguration function (diagnosticdataquery.h)
Sets event transcript configuration, such as maximum storage size and hours of data history. Note that setting the configuration will fail if the user is not elevated.
Syntax
HRESULT DdqSetTranscriptConfiguration(
HDIAGNOSTIC_DATA_QUERY_SESSION hSession,
const DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION *desiredConfig
);
Parameters
hSession
A HANDLE to the Diagnostic Data Query session.
desiredConfig
A DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION* that points to the resource that contains the desired event transcript configuration.
Return value
An HRESULT which 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 |