Defined Types



IOStorageCompletionAction

typedef void (*IOStorageCompletionAction)(void *   target,
                                          void *   parameter,
                                          IOReturn status,
                                          UInt64   actualByteCount);

The IOStorageCompletionAction declaration describes the C (or C++) completion routine that is called once an asynchronous storage operation completes.

Parameters

NameDescription
targetOpaque client-supplied pointer (or an instance pointer for a C++ callback).
parameterOpaque client-supplied pointer.
statusStatus of the data transfer.
actualByteCountActual number of bytes transferred in the data transfer.

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