Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Imaging With QuickDraw /
Chapter 7 - Pictures / Pictures Reference
Application-Defined Routines /


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.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996