Reference

SetConsoleMode(3w)

NAME

SetConsoleMode (KERNEL32.@)

SYNOPSIS

BOOL SetConsoleMode
(
HANDLE hcon,
DWORD mode
)

DESCRIPTION

SetConsoleMode [KERNEL32.@] Sets input mode of console's input buffer.

PARAMS

hcon [In] Handle to console input or screen buffer.

mode [In] Input or output mode to set.

RETURNS

Success: TRUE

Failure: FALSE.

mode: ENABLE_PROCESSED_INPUT 0x01 ENABLE_LINE_INPUT 0x02 ENABLE_ECHO_INPUT 0x04 ENABLE_WINDOW_INPUT 0x08 ENABLE_MOUSE_INPUT 0x10

IMPLEMENTATION

Declared in "wincon.h".

Implemented in "dlls/kernel32/console.c".

Debug channel "console".

History