Important: The information in this document is obsolete and should not be used for new development.
MyDisposeColorPickMethod
Your'cpmt'resource should include a routine that releases the memory
allocated by yourMyInitPickMethodroutine (which is described on
page 7-61). Here is how you would declare this routine if it were a Pascal
function namedMyDisposeColorPickMethod:
FUNCTION MyDisposeColorPickMethod (dataRef: LongInt): OSErr;
dataRef- A handle to any data your method needs. Your application initially creates this handle using the
MyInitPickMethodroutine.DESCRIPTION
YourMyDisposeColorPickMethodroutine should release any memory that you allocated in yourMyInitPickMethodroutine. If yourMyDisposeColorPickMethodroutine generates any error, it should return the error as its function result.