Carbon


CMProcedureLocation

Header: CMApplication.h

struct CMProcedureLocation {
    CMProfileAccessUPP proc; 
    void *refCon; 
    UInt16 adapter; 
    UInt16 edc; 
    UInt16 sockets; 
    Byte caps; 
    Byte types; 
    Byte TPLLV2_VERS; 
    Byte TPLLV2_COMPLY; 
    UInt16 TPLLV2_DINDEX; 
    Byte TPLLV2_RSV6; 
    Byte TPLLV2_RSV7; 
    Byte TPLLV2_VSPEC8; 
    Byte TPLLV2_VSPEC9; 
    char TPLLV2_NHDR; 
    char TPLLV2_OEM[1]; 
    GDHandle displayListEntryGDevice; 
    DisplayIDType displayListEntryDisplayID; 
    UInt32 displayListEntryIncludeFlags; 
    UInt32 displayListEntryReserved1; 
    UInt32 displayListEntryReserved2; 
    UInt32 displayListEntryReserved3; 
    UInt32 displayListEntryReserved4; 
    UInt32 displayListEntryReserved5; 
    UInt32 fVersion; 
    Boolean fLocalEcho; 
    Boolean fNonModal; 
    Boolean fPowerUser; 
    Boolean fQuitWhenPPPStarts; 
    Boolean fDontAskVarStr;
};

Field descriptions

proc

A universal procedure pointer to a profile access procedure. For a description of the procedure, see the function CMProfileAccessProcPtr.

refCon

A pointer to the profile access procedure’s private data, such as a file or resource name, a pointer to a current offset, and so on.

Your application uses the CMProcedureLocation structure to provide a universal procedure pointer to a profile access procedure. You provide this structure in the CMProfileLocation structure’s u field. The CMProcedureLocation structure also contains a pointer field to specify data associated with the profile access procedure.

The ColorSync Manager calls your profile access procedure when the profile is created, initialized, opened, read, updated, or closed.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)