Defined Types



IOAsyncCallback

typedef void (*IOAsyncCallback)(void *refcon, IOReturn result, void **args,
                                int numArgs);

Parameters

NameDescription
refconThe refcon passed into the original I/O request
resultThe result of the I/O operation
argsArray of extra arguments
numArgsNumber of extra arguments

IOAsyncCallback0

typedef void (*IOAsyncCallback0)(void *refcon, IOReturn result);

Parameters

NameDescription
refconThe refcon passed into the original I/O request
resultThe result of the I/O operation

IOAsyncCallback1

typedef void (*IOAsyncCallback1)(void *refcon, IOReturn result, void *arg0);

Parameters

NameDescription
refconThe refcon passed into the original I/O request
resultThe result of the I/O operation
arg0Extra argument

IOAsyncCallback2

typedef void (*IOAsyncCallback2)(void *refcon, IOReturn result, void *arg0, void *arg1);

Parameters

NameDescription
refconThe refcon passed into the original I/O request
resultThe result of the I/O operation
arg0Extra argument
arg1Extra argument

© 2000 Apple Computer, Inc. — (Last Updated 2/23/2000)