![]() |
CMProfileIterateData |
Header: CMApplication.h |
struct CMProfileIterateData { UInt32 dataVersion; CM2Header header; ScriptCode code; Str255 name; CMProfileLocation location; UniCharCount uniCodeNameCount; UniChar *uniCodeName; UInt8 *asciiName; CMMakeAndModel *makeAndModel; Byte TPLDEV_TYPE_WPS_SPEED; Byte deviceData[253]; SInt16 partitionCmds; SInt16 unused1; SInt16 unused2; SInt16 unused3; SInt16 unused4; SInt16 unused5; SInt16 unused6; SInt16 unused7; SInt16 unused8; SInt16 tRef; TELFeatureFlags featureFlags; SInt16 handsetSpeakerVol; SInt16 handsetMicVol; SInt16 speakerphoneVol; SInt16 speakerphoneMicVol; SInt16 ringerVol; SInt16 otherVol; SInt16 ringerTypes; UInt32 version; char lowerLayerName[36]; };
A value identifying the version of the structure. Currently set to cmProfileIterateDataVersion1.
A ColorSync version 2.x profile header structure of type CM2Header, containing information such as the profile size, type, version, and so on.
A script code identifying the script system used for the profile description. The ScriptCode data type is defined in the MacTypes.h header file.
The profile name, stored as a Pascal-type string (with length byte first) of up to 255 characters.
A structure specifying the profile location. With ColorSync 2.5, the location is always file-based, but that may not be true for future versions. Your code should always verify that the location structure contains a file specification before attempting to use it.
The ColorSync Manager defines the CMProfileIterateData structure to provide your CMIterateColorSyncFolder
.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)