pub type WaitServiceState = unsafe extern "system" fn(hservice: SC_HANDLE, dwnotify: u32, dwtimeout: u32, hcancelevent: HANDLE) -> u32;