---
title: "IOConnectCallStructMethod(_:_:_:_:_:_:)"
framework: iokit
role: symbol
role_heading: Function
path: iokit/1514274-ioconnectcallstructmethod
---

# IOConnectCallStructMethod(_:_:_:_:_:_:)

## Declaration

```swift
func IOConnectCallStructMethod(_ connection: mach_port_t, _ selector: UInt32, _ inputStruct: UnsafeRawPointer!, _ inputStructCnt: Int, _ outputStruct: UnsafeMutableRawPointer!, _ outputStructCnt: UnsafeMutablePointer<Int>!) -> kern_return_t
```
