pub type ProcessIdToSessionId = unsafe extern "system" fn(dwprocessid: u32, psessionid: *mut u32) -> BOOL;