Debugging Tools for Windows

CloseLogFile

The CloseLogFile method closes the currently-open log file.

HRESULT
  IDebugControl::CloseLogFile(
    );

Parameters

None

Return Value

S_OK
The method was successful.

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

Interface Version

CloseLogFile is available in all versions of IDebugControl.

Comments

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

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

Requirements

Headers: Defined in Dbgeng.h. Include Dbgeng.h.

See Also

OpenLogFile2, GetLogFile2, OpenLogFile, GetLogFile, .logclose

Build machine: CAPEBUILD