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: Advanced Color Imaging Reference /
Chapter 3 - ColorSync Manager Reference for Applications and Device Drivers / Constants and Data Types


Enable Color Matching Block

You pass a structure defined by the TEnableColorMatchingBlk data type to the PrGeneral function when you use the EnableColorMatchingOp opcode, described in "PrGeneral Function Operation Codes" (page 3-37). ColorSync-supportive drivers support the EnableColorMatchingOp operation code as a PrGeneral call that turns the fEnableIt flag on or off to enable or disable color matching.

struct TEnableColorMatchingBlk {
   short                iOpCode;
   short                iError;
   long                 lReserved;
   THPrint              hPrint;
   Boolean              fEnableIt;
   SInt8                filler;
};
Field Description
iOpCode
The PrGeneral printing opcode.
iError
The returned error code.
lReserved
Reserved for future use.
hPrint
A valid print record.
fEnableIt
The flag set by the EnableColorMatchingOp opcode.
filler
Filler.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996