pub type WTSWaitSystemEvent = unsafe extern "system" fn(hserver: HANDLE, eventmask: u32, peventflags: *mut u32) -> BOOL;