AEGetEventHandler

Function AEGetEventHandler 

Source
pub unsafe extern "C-unwind" fn AEGetEventHandler(
    the_ae_event_class: AEEventClass,
    the_ae_event_id: AEEventID,
    handler: *mut AEEventHandlerUPP,
    handler_refcon: *mut *mut c_void,
    is_sys_handler: bool,
) -> i16
Available on crate features AEDataModel and AppleEvents only.
Expand description

ยงSafety

  • handler must be a valid pointer.
  • handler_refcon must be a valid pointer.