---
title: "dynamicRegistrationEndpoint(forProcessID:version:reply:)"
framework: Professional Video Applications
role: symbol
role_heading: Instance Method
platforms: [macOS 10.8+]
path: "professional_video_applications/proxpcprotocol/dynamicregistrationendpoint(forprocessid:version:reply:)"
---

# dynamicRegistrationEndpoint(forProcessID:version:reply:)

## Declaration

```swift
func dynamicRegistrationEndpoint(forProcessID processID: pid_t, version: Int, reply: ((NSXPCListenerEndpoint?, (any Error)?) -> Void)!)
```

```swift
func dynamicRegistrationEndpoint(forProcessID processID: pid_t, version: Int) async throws -> NSXPCListenerEndpoint?
```

## Discussion

Discussion Obtains the NSXPCListenerEndpoint for dynamic registration. The host application automatically calls this so plug-ins should not call it.
