IDebugControl2::CloseLogFile method (dbgeng.h)

The CloseLogFile method closes the currently-open log file.

Syntax

HRESULT CloseLogFile();

Return value

Return code Description
S_OK
The method was successful.
 

This method can also return error values. See Return Values for more details.

Remarks

If no log file is open, this method has no effect.

For more about log files, see Using Input and Output.

Requirements

Requirement Value
Target Platform Desktop
Header dbgeng.h (include Dbgeng.h)

See also

.logclose

GetLogFile

GetLogFile2

IDebugControl

IDebugControl2

IDebugControl3

OpenLogFile

OpenLogFile2