pub type AreAllAccessesGranted = unsafe extern "system" fn(grantedaccess: u32, desiredaccess: u32) -> BOOL;