Contents

InvokeAEEventHandlerUPP(_:_:_:_:)

Calls an event handler universal procedure pointer.

Declaration

func InvokeAEEventHandlerUPP(_ theAppleEvent: UnsafePointer<AppleEvent>!, _ reply: UnsafeMutablePointer<AppleEvent>!, _ handlerRefcon: SRefCon!, _ userUPP: AEEventHandlerUPP!) -> OSErr

Return Value

A result code. See Result Codes.

Discussion

See the AEEventHandlerProcPtr callback function.

See Also

Creating, Calling, and Deleting Universal Procedure Pointers