pub type SetConsoleMode = unsafe extern "system" fn(hconsolehandle: HANDLE, dwmode: CONSOLE_MODE) -> BOOL;