---
title: SetWorkGroupPort
framework: Kernel
role: symbol
role_heading: Instance Method
platforms: [macOS 12.1+]
path: kernel/ioworkgroup/3892911-setworkgroupport
---

# SetWorkGroupPort

## Declaration

```occ
kern_return_t SetWorkGroupPort(mach_port_t port, OSDispatchMethod supermethod);
```
