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?) -> VoidParameters
- 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
ctxparameter) when it calls theAERemoteProcessResolverScheduleWithRunLoopfunction.
Return Value
Your callback routine should not return a value.