#ifndef _WINSTA_H
/**
* The TS_TRACE structure specifies fields used for configuring tracing operations in TS binaries if they are checked.
*
* \sa https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-tsts/ad349575-5369-4830-a174-1920a7af8d5f
*/
typedef struct _TS_TRACE
{
WCHAR TraceFile[256]; // Specifies the file name, if any, to which to write debug information.
BOOLEAN Debugger; // Specifies whether debugger is attached.
BOOLEAN Timestamp; // Specifies whether to append time stamp to the traces logged.
ULONG TraceClass; // Classes of tracing to log. They enable tracing for the various terminal server binaries/functionalities.
ULONG TraceEnable; // Type of tracing calls log.
WCHAR TraceOption[64]; // Trace option string. This can be an empty string meaning collect trace for all files and lines in those files.
} TS_TRACE, *PTS_TRACE;
View code on GitHubNo description available.