MyDisposeColorPickMethod
Your 'cpmt' resource should include a routine that releases the memory
allocated by your MyInitPickMethod routine (which is described on
page 7-61). Here is how you would declare this routine if it were a Pascal
function named MyDisposeColorPickMethod:
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
Your MyDisposeColorPickMethod routine should release any memory that you allocated in your MyInitPickMethod routine. If your MyDisposeColorPickMethod routine generates any error, it should return the error as its function result.