Home -> LogTargetConsole -> OpenConsoleHandle
Description
The OpenConsoleHandle method opens a handle to the attached Windows console output device.
Important
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.