pub type SetStdHandleEx = unsafe extern "system" fn(nstdhandle: STD_HANDLE, hhandle: HANDLE, phprevvalue: *mut HANDLE) -> BOOL;