---
title: CFMessagePortGetTypeID()
framework: corefoundation
role: symbol
role_heading: Function
path: corefoundation/cfmessageportgettypeid()
---

# CFMessagePortGetTypeID()

Returns the type identifier for the CFMessagePort opaque type.

## Declaration

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

## Return Value

Return Value The type identifier for the CFMessagePort opaque type.
