![]() |
Commands for Caller-Supplied ColorSync Data Transfer Functions |
Header: CMApplication.h |
enum { cmOpenReadSpool = 1, cmOpenWriteSpool = 2, cmReadSpool = 3, cmWriteSpool = 4, cmCloseSpool = 5 };
Directs the function to begin the process of reading data.
Directs the function to begin the process of writing data.
Directs the function to read the number of bytes specified by the CMFlattenProcPtr functions size parameter.
Directs the function to write the number of bytes specified by the CMFlattenProcPtr functions size parameter.
Directs the function to complete the data transfer.
When your application calls the function
Your application provides a pointer to your ColorSync data transfer function as a parameter to the functions. The ColorSync Manager or the CMM calls your data transfer function, passing the command in the command parameter. For more information on the flatten function, see
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)