Mac OS 9
CMTypes.h File Reference

xxx put contents here xxx More...

#include <MacTypes.h>
#include <MixedMode.h>

Go to the source code of this file.

Macros

#define NewCMFlattenUPP(userRoutine)
 
#define NewCMBitmapCallBackUPP(userRoutine)
 
#define NewCMConcatCallBackUPP(userRoutine)
 
#define NewCMProfileFilterUPP(userRoutine)
 
#define NewCMProfileAccessUPP(userRoutine)
 
#define DisposeCMFlattenUPP(userUPP)   DisposeRoutineDescriptor(userUPP)
 
#define DisposeCMBitmapCallBackUPP(userUPP)   DisposeRoutineDescriptor(userUPP)
 
#define DisposeCMConcatCallBackUPP(userUPP)   DisposeRoutineDescriptor(userUPP)
 
#define DisposeCMProfileFilterUPP(userUPP)   DisposeRoutineDescriptor(userUPP)
 
#define DisposeCMProfileAccessUPP(userUPP)   DisposeRoutineDescriptor(userUPP)
 
#define InvokeCMFlattenUPP(command, size, data, refCon, userUPP)
 
#define InvokeCMBitmapCallBackUPP(progress, refCon, userUPP)
 
#define InvokeCMConcatCallBackUPP(progress, refCon, userUPP)
 
#define InvokeCMProfileFilterUPP(prof, refCon, userUPP)
 
#define InvokeCMProfileAccessUPP(command, offset, size, data, refCon, userUPP)
 
#define NewCMFlattenProc(userRoutine)   NewCMFlattenUPP(userRoutine)
 
#define NewCMBitmapCallBackProc(userRoutine)   NewCMBitmapCallBackUPP(userRoutine)
 
#define NewCMConcatCallBackProc(userRoutine)   NewCMConcatCallBackUPP(userRoutine)
 
#define NewCMProfileFilterProc(userRoutine)   NewCMProfileFilterUPP(userRoutine)
 
#define NewCMProfileAccessProc(userRoutine)   NewCMProfileAccessUPP(userRoutine)
 
#define CallCMFlattenProc(userRoutine, command, size, data, refCon)    InvokeCMFlattenUPP(command, size, data, refCon, userRoutine)
 
#define CallCMBitmapCallBackProc(userRoutine, progress, refCon)    InvokeCMBitmapCallBackUPP(progress, refCon, userRoutine)
 
#define CallCMConcatCallBackProc(userRoutine, progress, refCon)    InvokeCMConcatCallBackUPP(progress, refCon, userRoutine)
 
#define CallCMProfileFilterProc(userRoutine, prof, refCon)    InvokeCMProfileFilterUPP(prof, refCon, userRoutine)
 
#define CallCMProfileAccessProc(userRoutine, command, offset, size, data, refCon)    InvokeCMProfileAccessUPP(command, offset, size, data, refCon, userRoutine)
 

Typedefs

typedef long CMError
 
typedef struct OpaqueCMProfileRef * CMProfileRef
 
typedef struct OpaqueCMProfileSearchRef * CMProfileSearchRef
 
typedef struct OpaqueCMMatchRef * CMMatchRef
 
typedef struct OpaqueCMWorldRef * CMWorldRef
 
typedef UInt32 CMDisplayIDType
 
typedef long * size
 
typedef long void * data
 
typedef long void void * refCon
 
typedef long offset
 

Enumerations

enum  { uppCMFlattenProcInfo = 0x00003FE0 }
 
enum  { uppCMBitmapCallBackProcInfo = 0x000003D0 }
 
enum  { uppCMConcatCallBackProcInfo = 0x000003D0 }
 
enum  { uppCMProfileFilterProcInfo = 0x000003D0 }
 
enum  { uppCMProfileAccessProcInfo = 0x0000FFE0 }
 

Functions

typedef CALLBACK_API (OSErr, CMFlattenProcPtr)(long command
 
typedef CALLBACK_API (Boolean, CMBitmapCallBackProcPtr)(long progress
 
typedef CALLBACK_API (Boolean, CMConcatCallBackProcPtr)(long progress
 
typedef CALLBACK_API (Boolean, CMProfileFilterProcPtr)(CMProfileRef prof
 
typedef CALLBACK_API (OSErr, CMProfileAccessProcPtr)(long command
 
typedef STACK_UPP_TYPE (CMFlattenProcPtr) CMFlattenUPP
 
typedef STACK_UPP_TYPE (CMBitmapCallBackProcPtr) CMBitmapCallBackUPP
 
typedef STACK_UPP_TYPE (CMConcatCallBackProcPtr) CMConcatCallBackUPP
 
typedef STACK_UPP_TYPE (CMProfileFilterProcPtr) CMProfileFilterUPP
 
typedef STACK_UPP_TYPE (CMProfileAccessProcPtr) CMProfileAccessUPP
 
CMFlattenUPP NewCMFlattenUPP (CMFlattenProcPtr userRoutine)
 
CMBitmapCallBackUPP NewCMBitmapCallBackUPP (CMBitmapCallBackProcPtr userRoutine)
 
CMConcatCallBackUPP NewCMConcatCallBackUPP (CMConcatCallBackProcPtr userRoutine)
 
CMProfileFilterUPP NewCMProfileFilterUPP (CMProfileFilterProcPtr userRoutine)
 
CMProfileAccessUPP NewCMProfileAccessUPP (CMProfileAccessProcPtr userRoutine)
 
void DisposeCMFlattenUPP (CMFlattenUPP userUPP)
 
void DisposeCMBitmapCallBackUPP (CMBitmapCallBackUPP userUPP)
 
void DisposeCMConcatCallBackUPP (CMConcatCallBackUPP userUPP)
 
void DisposeCMProfileFilterUPP (CMProfileFilterUPP userUPP)
 
void DisposeCMProfileAccessUPP (CMProfileAccessUPP userUPP)
 
OSErr InvokeCMFlattenUPP (long command, long *size, void *data, void *refCon, CMFlattenUPP userUPP)
 
Boolean InvokeCMBitmapCallBackUPP (long progress, void *refCon, CMBitmapCallBackUPP userUPP)
 
Boolean InvokeCMConcatCallBackUPP (long progress, void *refCon, CMConcatCallBackUPP userUPP)
 
Boolean InvokeCMProfileFilterUPP (CMProfileRef prof, void *refCon, CMProfileFilterUPP userUPP)
 
OSErr InvokeCMProfileAccessUPP (long command, long offset, long *size, void *data, void *refCon, CMProfileAccessUPP userUPP)
 

Detailed Description

xxx put contents here xxx

Introduced In: ColorSync 3
Avaliable From: Universal Interfaces 3.4.1
Copyright: � 2000-2001 by Apple Computer, Inc., all rights reserved.

For bug reports, consult the following page on the World Wide Web:

http://developer.apple.com/bugreporter/

Macro Definition Documentation

◆ InvokeCMBitmapCallBackUPP

#define InvokeCMBitmapCallBackUPP (   progress,
  refCon,
  userUPP 
)
Value:
(Boolean) CALL_TWO_PARAMETER_UPP((userUPP), uppCMBitmapCallBackProcInfo, \
(progress), (refCon))
unsigned char Boolean
Definition: MacTypes.h:318

◆ InvokeCMConcatCallBackUPP

#define InvokeCMConcatCallBackUPP (   progress,
  refCon,
  userUPP 
)
Value:
(Boolean) CALL_TWO_PARAMETER_UPP((userUPP), uppCMConcatCallBackProcInfo, \
(progress), (refCon))

◆ InvokeCMFlattenUPP

#define InvokeCMFlattenUPP (   command,
  size,
  data,
  refCon,
  userUPP 
)
Value:
(OSErr) CALL_FOUR_PARAMETER_UPP((userUPP), uppCMFlattenProcInfo, (command), \
(size), (data), (refCon))

◆ InvokeCMProfileAccessUPP

#define InvokeCMProfileAccessUPP (   command,
  offset,
  size,
  data,
  refCon,
  userUPP 
)
Value:
(OSErr) \
CALL_FIVE_PARAMETER_UPP((userUPP), uppCMProfileAccessProcInfo, \
(command), (offset), (size), (data), (refCon))

◆ InvokeCMProfileFilterUPP

#define InvokeCMProfileFilterUPP (   prof,
  refCon,
  userUPP 
)
Value:
(Boolean) CALL_TWO_PARAMETER_UPP((userUPP), uppCMProfileFilterProcInfo, \
(prof), (refCon))

◆ NewCMBitmapCallBackUPP

#define NewCMBitmapCallBackUPP (   userRoutine)
Value:
(CMBitmapCallBackUPP) NewRoutineDescriptor((ProcPtr)(userRoutine), \
uppCMBitmapCallBackProcInfo, \
GetCurrentArchitecture())
UniversalProcPtr NewRoutineDescriptor(ProcPtr theProc, ProcInfoType theProcInfo, ISAType theISA)

◆ NewCMConcatCallBackUPP

#define NewCMConcatCallBackUPP (   userRoutine)
Value:
(CMConcatCallBackUPP) NewRoutineDescriptor((ProcPtr)(userRoutine), \
uppCMConcatCallBackProcInfo, \
GetCurrentArchitecture())

◆ NewCMFlattenUPP

#define NewCMFlattenUPP (   userRoutine)
Value:
(CMFlattenUPP) NewRoutineDescriptor( \
(ProcPtr)(userRoutine), uppCMFlattenProcInfo, GetCurrentArchitecture())

◆ NewCMProfileAccessUPP

#define NewCMProfileAccessUPP (   userRoutine)
Value:
(CMProfileAccessUPP) \
NewRoutineDescriptor((ProcPtr)(userRoutine), uppCMProfileAccessProcInfo, \
GetCurrentArchitecture())

◆ NewCMProfileFilterUPP

#define NewCMProfileFilterUPP (   userRoutine)
Value:
(CMProfileFilterUPP) \
NewRoutineDescriptor((ProcPtr)(userRoutine), uppCMProfileFilterProcInfo, \
GetCurrentArchitecture())

Function Documentation

◆ DisposeCMBitmapCallBackUPP()

void DisposeCMBitmapCallBackUPP ( CMBitmapCallBackUPP  userUPP)

DisposeCMBitmapCallBackUPP()

Availability:

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in 3.0 and later

◆ DisposeCMConcatCallBackUPP()

void DisposeCMConcatCallBackUPP ( CMConcatCallBackUPP  userUPP)

DisposeCMConcatCallBackUPP()

Availability:

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in 3.0 and later

◆ DisposeCMFlattenUPP()

void DisposeCMFlattenUPP ( CMFlattenUPP  userUPP)

DisposeCMFlattenUPP()

Availability:

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in 3.0 and later

◆ DisposeCMProfileAccessUPP()

void DisposeCMProfileAccessUPP ( CMProfileAccessUPP  userUPP)

DisposeCMProfileAccessUPP()

Availability:

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in 3.0 and later

◆ DisposeCMProfileFilterUPP()

void DisposeCMProfileFilterUPP ( CMProfileFilterUPP  userUPP)

DisposeCMProfileFilterUPP()

Availability:

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in 3.0 and later

◆ InvokeCMBitmapCallBackUPP()

Boolean InvokeCMBitmapCallBackUPP ( long  progress,
void *  refCon,
CMBitmapCallBackUPP  userUPP 
)

InvokeCMBitmapCallBackUPP()

Availability:

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in 3.0 and later

◆ InvokeCMConcatCallBackUPP()

Boolean InvokeCMConcatCallBackUPP ( long  progress,
void *  refCon,
CMConcatCallBackUPP  userUPP 
)

InvokeCMConcatCallBackUPP()

Availability:

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in 3.0 and later

◆ InvokeCMFlattenUPP()

OSErr InvokeCMFlattenUPP ( long  command,
long *  size,
void *  data,
void *  refCon,
CMFlattenUPP  userUPP 
)

InvokeCMFlattenUPP()

Availability:

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in 3.0 and later

◆ InvokeCMProfileAccessUPP()

OSErr InvokeCMProfileAccessUPP ( long  command,
long  offset,
long *  size,
void *  data,
void *  refCon,
CMProfileAccessUPP  userUPP 
)

InvokeCMProfileAccessUPP()

Availability:

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in 3.0 and later

◆ InvokeCMProfileFilterUPP()

Boolean InvokeCMProfileFilterUPP ( CMProfileRef  prof,
void *  refCon,
CMProfileFilterUPP  userUPP 
)

InvokeCMProfileFilterUPP()

Availability:

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in 3.0 and later

◆ NewCMBitmapCallBackUPP()

CMBitmapCallBackUPP NewCMBitmapCallBackUPP ( CMBitmapCallBackProcPtr  userRoutine)

NewCMBitmapCallBackUPP()

Availability:

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in 3.0 and later

◆ NewCMConcatCallBackUPP()

CMConcatCallBackUPP NewCMConcatCallBackUPP ( CMConcatCallBackProcPtr  userRoutine)

NewCMConcatCallBackUPP()

Availability:

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in 3.0 and later

◆ NewCMFlattenUPP()

CMFlattenUPP NewCMFlattenUPP ( CMFlattenProcPtr  userRoutine)

NewCMFlattenUPP()

Availability:

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in 3.0 and later

◆ NewCMProfileAccessUPP()

CMProfileAccessUPP NewCMProfileAccessUPP ( CMProfileAccessProcPtr  userRoutine)

NewCMProfileAccessUPP()

Availability:

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in 3.0 and later

◆ NewCMProfileFilterUPP()

CMProfileFilterUPP NewCMProfileFilterUPP ( CMProfileFilterProcPtr  userRoutine)

NewCMProfileFilterUPP()

Availability:

Non-Carbon CFM: available as macro/inline
Carbon Lib: in CarbonLib 1.0 and later
Mac OS X: in 3.0 and later