---
title: CFMachPortContext
framework: corefoundation
role: symbol
role_heading: Structure
path: corefoundation/cfmachportcontext
---

# CFMachPortContext

A structure that contains program-defined data and callbacks with which you can configure a CFMachPort object’s behavior.

## Declaration

```swift
struct CFMachPortContext
```

## Topics

### Initializers

- [init()](corefoundation/cfmachportcontext/init().md)
- [init(version:info:retain:release:copyDescription:)](corefoundation/cfmachportcontext/init(version:info:retain:release:copydescription:).md)

### Instance Properties

- [copyDescription](corefoundation/cfmachportcontext/copydescription.md)
- [info](corefoundation/cfmachportcontext/info.md)
- [release](corefoundation/cfmachportcontext/release.md)
- [retain](corefoundation/cfmachportcontext/retain.md)
- [version](corefoundation/cfmachportcontext/version.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
