Home -> LogTargetConsole -> OpenConsoleHandle

Description

The OpenConsoleHandle method opens a handle to the attached Windows console output device.

ImportantImportant

This method opens CONOUT$. It does not allocate a new console for the process.

Usage

bool OpenConsoleHandle();

Return value

[bool]
true if a console handle is already open or was opened successfully; otherwise false.

See also