Carbon


ICMDataProcPtr

Header: ImageCompression.h Carbon status: Supported

typedef OSErr(* ICMDataProcPtr) (
    Ptr *dataP, 
    SInt32 bytesNeeded, 
    SInt32 refcon
);

You would declare your function like this if you were to name it MyICMDataCallback:

OSErr MyICMDataCallback (
    Ptr *dataP, 
    SInt32 bytesNeeded, 
    SInt32 refcon
);
function result

A result code.


© 2000 Apple Computer, Inc. (Last Updated 6/26/2000)