s_consoleOpen
global · console
- Address
0xc4eac8· 4 bytes, up to0xc4eacb- Type
uint32_t- Meaning
- Holds the flag that the console is open
- Confidence
- verified, proof one
- Finding
- console/screen#console-key
Finding: Console key in console: screen
The console opens and closes on a key whose code is 0x864554 (default 0x60, the grave accent), and
only when 0xc4ec20 is nonzero, which ConsoleDeviceInitialize sets from the command-line switch
-console. The key down and the key repeat both flip the open flag 0xc4eac8 and are swallowed, so
holding the key flips it on every repeat. The key's own character is swallowed while it is held.
SetConsoleKey (0x63cb00) replaces the code. Closing clears the selection. Without the switch the
console never opens.
The derivation is in the doc.