AEInstallEventHandler

Function AEInstallEventHandler 

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

These calls are used to set up and modify the event dispatch table.D


ยงSafety

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