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 yourMyInitPickMethod
routine (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
MyInitPickMethod
routine.DESCRIPTION
YourMyDisposeColorPickMethod
routine should release any memory that you allocated in yourMyInitPickMethod
routine. If yourMyDisposeColorPickMethod
routine generates any error, it should return the error as its function result.