AllocConsole v0.1.0
Allocates a console for the calling process.
Package: Windows
Microsoft documentation: AllocConsole
Signature
func AllocConsole() -> bool32;
Returns
bool32 — nonzero on success or zero on failure. Call
GetLastError after failure.
Description
A process can be associated with at most one console. After allocation, obtain
the console handles with GetStdHandle.
See also
Windows— the package overviewGetStdHandle— retrieve a standard device handle