[][src]Function winapi_util::console::set_mode

pub fn set_mode<H: AsHandleRef>(h: H, mode: u32) -> Result<()>

Set the mode of the console represented by the given handle.

This corresponds to calling SetConsoleMode, which describes the format of the mode parameter.