GetConsoleMode PROC  
(MS-Windows)
   Gets the current input mode of a console input
buffer or the current output mode of a console screen buffer.
   Use SetConsoleMode to change console I/O
modes.
   Call GetLastError to get extended error
information.
| 
GetConsoleMode PROTO,
    nConsoleHandle:DWORD,   ; input or output handle
    lpMode:PTR DWORD        ; pointer to DWORD containing flags
Returns: (BOOL) EAX = TRUE (non-zero) if successful,
                      FALSE (zero) if fails.
 | 
| Argument | Win Type | MASM Type | Description | 
|---|---|---|---|
| nConsoleHandle | HANDLE | DWORD | Handle to console input or screen buffer. | 
| lpMode | LPDWORD | PTR DWORD | Pointer to current mode flags. | 
| Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |