winconsole::window
pub fn is_maximized() -> WinResult<bool>
Is the window maximized?
println!("Maximized? {}", window::is_maximized().unwrap());
IoError