const STD_OUTPUT_HANDLE: type = (maxInt(DWORD) - 11) + 1;

The standard output device. Initially, this is the active console screen buffer, CONOUT$.