Contents

AERemoteProcessResolverCallback

Defines a pointer to a function the Apple Event Manager calls when the asynchronous execution of a remote process resolver completes, either due to success or failure, after a call to the AERemoteProcessResolverScheduleWithRunLoop function. Your callback function can use the reference passed to it to get the remote process information.

Declaration

typealias AERemoteProcessResolverCallback = (AERemoteProcessResolverRef?, UnsafeMutableRawPointer?) -> Void

Parameters

  • ref:

    A reference of type Aeremoteprocessresolverref you can query to obtain the remote process information. Acquired from a previous call to 1445692 Aecreateremoteprocessresolver.

  • info:

    An untyped pointer your application can use to pass information it needs when resolving remote processes. The application originally supplies this pointer in the Aeremoteprocessresolvercontext structure in the ctx parameter) when it calls the AERemoteProcessResolverScheduleWithRunLoop function.

Return Value

Your callback routine should not return a value.

See Also

Callbacks