pub unsafe extern "system" fn SeAccessCheckFromStateEx(
    securitydescriptor: PSECURITY_DESCRIPTOR,
    primarytoken: *const c_void,
    clienttoken: *const c_void,
    desiredaccess: u32,
    previouslygrantedaccess: u32,
    privileges: *mut *mut PRIVILEGE_SET,
    genericmapping: *const GENERIC_MAPPING,
    accessmode: i8,
    grantedaccess: *mut u32,
    accessstatus: *mut i32,
) -> BOOLEAN