---
title: "IOConnectCallMethod(_:_:_:_:_:_:_:_:_:_:)"
framework: iokit
role: symbol
role_heading: Function
path: iokit/1514240-ioconnectcallmethod
---

# IOConnectCallMethod(_:_:_:_:_:_:_:_:_:_:)

## Declaration

```swift
func IOConnectCallMethod(_ connection: mach_port_t, _ selector: UInt32, _ input: UnsafePointer<UInt64>!, _ inputCnt: UInt32, _ inputStruct: UnsafeRawPointer!, _ inputStructCnt: Int, _ output: UnsafeMutablePointer<UInt64>!, _ outputCnt: UnsafeMutablePointer<UInt32>!, _ outputStruct: UnsafeMutableRawPointer!, _ outputStructCnt: UnsafeMutablePointer<Int>!) -> kern_return_t
```
