IOAsyncCallback
standard callback function for asynchronous I/O requests with lots of extra arguments beyond a refcon and result code.
Declaration
typealias IOAsyncCallback = (UnsafeMutableRawPointer?, IOReturn, UnsafeMutablePointer<UnsafeMutableRawPointer?>?, UInt32) -> VoidParameters
- refcon:
The refcon passed into the original I/O request
- result:
The result of the I/O operation
- args:
Array of extra arguments
- numArgs:
Number of extra arguments