AllocConsole function Null safety kernel32
Allocates a new console for the calling process.
BOOL WINAPI AllocConsole(void);
Implementation
int AllocConsole() {
final _AllocConsole = _kernel32
.lookupFunction<Int32 Function(), int Function()>('AllocConsole');
return _AllocConsole();
}