pub type GetNumberOfConsoleInputEvents = unsafe extern "system" fn(hconsoleinput: HANDLE, lpnumberofevents: *mut u32) -> BOOL;