---
title: CFMachPortGetTypeID()
framework: corefoundation
role: symbol
role_heading: Function
path: corefoundation/cfmachportgettypeid()
---

# CFMachPortGetTypeID()

Returns the type identifier for the CFMachPort opaque type.

## Declaration

```swift
func CFMachPortGetTypeID() -> CFTypeID
```

## Return Value

Return Value The type identifier for the CFMachPort opaque type.
