Debugging Tools for Windows |
The GetLogFile2 and GetLogFile2Wide methods return the name of the currently open log file.
HRESULT
IDebugControl4::GetLogFile2(
OUT OPTIONAL PSTR Buffer,
IN ULONG BufferSize,
OUT OPTIONAL PULONG FileSize,
OUT PULONG Flags
);
HRESULT
IDebugControl4::GetLogFile2Wide(
OUT OPTIONAL PWSTR Buffer,
IN ULONG BufferSize,
OUT OPTIONAL PULONG FileSize,
OUT PULONG Flags
);
#ifdef UNICODE
#define GetLogFile2T GetLogFile2Wide
#else
#define GetLogFile2T GetLogFile2
#endif
This method can also return error values. See Return Values for more details.
GetLogFile2 and GetLogFile2Wide are available in IDebugControl4 and later versions.
For more information about log files, see Using Input and Output.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.
OpenLogFile2, GetLogFile, CloseLogFile, GetLogMask, .logfile