---
title: AERemoteProcessResolverCallback
framework: coreservices
role: symbol
role_heading: Type Alias
path: coreservices/aeremoteprocessresolvercallback
---

# 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

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

## Parameters

- `ref`: A reference of type doc://com.apple.documentation/documentation/coreservices/aeremoteprocessresolverref you can query to obtain the remote process information. Acquired from a previous call to doc://com.apple.documentation/documentation/coreservices/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 doc://com.apple.documentation/documentation/coreservices/aeremoteprocessresolvercontext structure in the ctx parameter) when it calls the AERemoteProcessResolverScheduleWithRunLoop function.

## Return Value

Return Value Your callback routine should not return a value.

## See Also

### Callbacks

- [AEDisposeExternalProcPtr](coreservices/aedisposeexternalprocptr.md)
- [AECoerceDescProcPtr](coreservices/aecoercedescprocptr.md)
- [AECoercePtrProcPtr](coreservices/aecoerceptrprocptr.md)
- [AEEventHandlerProcPtr](coreservices/aeeventhandlerprocptr.md)
- [OSLAccessorProcPtr](coreservices/oslaccessorprocptr.md)
- [OSLAdjustMarksProcPtr](coreservices/osladjustmarksprocptr.md)
- [OSLCompareProcPtr](coreservices/oslcompareprocptr.md)
- [OSLCountProcPtr](coreservices/oslcountprocptr.md)
- [OSLDisposeTokenProcPtr](coreservices/osldisposetokenprocptr.md)
- [OSLGetErrDescProcPtr](coreservices/oslgeterrdescprocptr.md)
- [OSLGetMarkTokenProcPtr](coreservices/oslgetmarktokenprocptr.md)
- [OSLMarkProcPtr](coreservices/oslmarkprocptr.md)
