pub unsafe extern "system" fn AccessCheckByTypeAndAuditAlarmW(
    subsystemname: PCWSTR,
    handleid: *const c_void,
    objecttypename: PCWSTR,
    objectname: PCWSTR,
    securitydescriptor: PSECURITY_DESCRIPTOR,
    principalselfsid: PSID,
    desiredaccess: u32,
    audittype: AUDIT_EVENT_TYPE,
    flags: u32,
    objecttypelist: *mut OBJECT_TYPE_LIST,
    objecttypelistlength: u32,
    genericmapping: *const GENERIC_MAPPING,
    objectcreation: BOOL,
    grantedaccess: *mut u32,
    accessstatus: *mut BOOL,
    pfgenerateonclose: *mut BOOL,
) -> BOOL