IOAsyncCallback2
standard callback function for asynchronous I/O requests with two extra arguments beyond a refcon and result code.
Declaration
typealias IOAsyncCallback2 = (UnsafeMutableRawPointer?, IOReturn, UnsafeMutableRawPointer?, UnsafeMutableRawPointer?) -> VoidParameters
- refcon:
The refcon passed into the original I/O request
- result:
The result of the I/O operation
- arg0:
Extra argument
- arg1:
Extra argument