Mac Developer Library

Developer

DRContentProperties.h Reference

Options
Deployment Target:

On This Page
Language:

DRContentProperties.h Reference

Property strings for filesystem objects.

Included Headers

  • <CoreFoundation/CoreFoundation.h>

  • <AvailabilityMacros.h>

Constants

See the Overview section above for header-level documentation.

  • Declaration

    Swift

    let kDRAbstractFile: CFString! let kDRAccessDate: CFString! let kDRAllFilesystems: CFString! let kDRApplicationIdentifier: CFString! let kDRAttributeModificationDate: CFString! let kDRBackupDate: CFString! let kDRBibliographicFile: CFString! let kDRBlockSize: CFString! let kDRContentModificationDate: CFString! let kDRCopyrightFile: CFString! let kDRCreationDate: CFString! let kDRDataPreparer: CFString! let kDRDefaultDate: CFString! let kDREffectiveDate: CFString! let kDRExpirationDate: CFString! let kDRHFSPlus: CFString! let kDRHFSPlusCatalogNodeID: CFString! let kDRHFSPlusTextEncodingHint: CFString! let kDRInvisible: CFString! let kDRISO9660: CFString! let kDRISO9660LevelOne: CFString! let kDRISO9660LevelTwo: CFString! let kDRISO9660VersionNumber: CFString! let kDRISOLevel: CFString! let kDRISOMacExtensions: CFString! let kDRISORockRidgeExtensions: CFString! let kDRJoliet: CFString! let kDRMacExtendedFinderFlags: CFString! let kDRMacFileCreator: CFString! let kDRMacFileType: CFString! let kDRMacFinderFlags: CFString! let kDRMacFinderHideExtension: CFString! let kDRMacIconLocation: CFString! let kDRMacScrollPosition: CFString! let kDRMacWindowBounds: CFString! let kDRMacWindowView: CFString! let kDRPosixFileMode: CFString! let kDRPosixGID: CFString! let kDRPosixUID: CFString! let kDRPublisher: CFString! let kDRRecordingDate: CFString! let kDRSuppressMacSpecificFiles: CFString! let kDRSystemIdentifier: CFString! let kDRUDF: CFString! let kDRUDFApplicationIdentifierSuffix: CFString! let kDRUDFExtendedFilePermissions: CFString! let kDRUDFInterchangeLevel: CFString! let kDRUDFMaxInterchangeLevel: CFString! let kDRUDFMaxVolumeSequenceNumber: CFString! let kDRUDFPrimaryVolumeDescriptorNumber: CFString! let kDRUDFRealTimeFile: CFString! let kDRUDFVersion102: CFString! let kDRUDFVersion150: CFString! let kDRUDFVolumeSequenceNumber: CFString! let kDRUDFVolumeSetIdentifier: CFString! let kDRUDFVolumeSetImplementationUse: CFString! let kDRUDFVolumeSetTimestamp: CFString! let kDRUDFWriteVersion: CFString! let kDRVolumeCheckedDate: CFString! let kDRVolumeCreationDate: CFString! let kDRVolumeEffectiveDate: CFString! let kDRVolumeExpirationDate: CFString! let kDRVolumeModificationDate: CFString! let kDRVolumeSet: CFString!

    Objective-C

    extern const CFStringRef kDRAbstractFile; extern const CFStringRef kDRAccessDate; extern const CFStringRef kDRAllFilesystems; extern const CFStringRef kDRApplicationIdentifier; extern const CFStringRef kDRAttributeModificationDate; extern const CFStringRef kDRBackupDate; extern const CFStringRef kDRBibliographicFile; extern const CFStringRef kDRBlockSize; extern const CFStringRef kDRContentModificationDate; extern const CFStringRef kDRCopyrightFile; extern const CFStringRef kDRCreationDate; extern const CFStringRef kDRDataPreparer; extern const CFStringRef kDRDefaultDate; extern const CFStringRef kDREffectiveDate; extern const CFStringRef kDRExpirationDate; extern const CFStringRef kDRHFSPlus; extern const CFStringRef kDRHFSPlusCatalogNodeID; extern const CFStringRef kDRHFSPlusTextEncodingHint; extern const CFStringRef kDRInvisible; extern const CFStringRef kDRISO9660; extern const CFStringRef kDRISO9660LevelOne; extern const CFStringRef kDRISO9660LevelTwo; extern const CFStringRef kDRISO9660VersionNumber; extern const CFStringRef kDRISOLevel; extern const CFStringRef kDRISOMacExtensions; extern const CFStringRef kDRISORockRidgeExtensions; extern const CFStringRef kDRJoliet; extern const CFStringRef kDRMacExtendedFinderFlags; extern const CFStringRef kDRMacFileCreator; extern const CFStringRef kDRMacFileType; extern const CFStringRef kDRMacFinderFlags; extern const CFStringRef kDRMacFinderHideExtension; extern const CFStringRef kDRMacIconLocation; extern const CFStringRef kDRMacScrollPosition; extern const CFStringRef kDRMacWindowBounds; extern const CFStringRef kDRMacWindowView; extern const CFStringRef kDRPosixFileMode; extern const CFStringRef kDRPosixGID; extern const CFStringRef kDRPosixUID; extern const CFStringRef kDRPublisher; extern const CFStringRef kDRRecordingDate; extern const CFStringRef kDRSuppressMacSpecificFiles; extern const CFStringRef kDRSystemIdentifier; extern const CFStringRef kDRUDF; extern const CFStringRef kDRUDFApplicationIdentifierSuffix; extern const CFStringRef kDRUDFExtendedFilePermissions; extern const CFStringRef kDRUDFInterchangeLevel; extern const CFStringRef kDRUDFMaxInterchangeLevel; extern const CFStringRef kDRUDFMaxVolumeSequenceNumber; extern const CFStringRef kDRUDFPrimaryVolumeDescriptorNumber; extern const CFStringRef kDRUDFRealTimeFile; extern const CFStringRef kDRUDFVersion102; extern const CFStringRef kDRUDFVersion150; extern const CFStringRef kDRUDFVolumeSequenceNumber; extern const CFStringRef kDRUDFVolumeSetIdentifier; extern const CFStringRef kDRUDFVolumeSetImplementationUse; extern const CFStringRef kDRUDFVolumeSetTimestamp; extern const CFStringRef kDRUDFWriteVersion; extern const CFStringRef kDRVolumeCheckedDate; extern const CFStringRef kDRVolumeCreationDate; extern const CFStringRef kDRVolumeEffectiveDate; extern const CFStringRef kDRVolumeExpirationDate; extern const CFStringRef kDRVolumeModificationDate; extern const CFStringRef kDRVolumeSet;

    Constants

    • kDRAbstractFile

      kDRAbstractFile

      (ISO/Joliet) The key for indicating the abstract file.

      Value is a DRFileRef in DRContentObject.h Reference (which must be in the root directory).

      Available in OS X v10.2 and later.

    • kDRAccessDate

      kDRAccessDate

      The property key for the item's last-accessed date.

      Value is a CFDateRef.

      Available in OS X v10.2 and later.

    • kDRAllFilesystems

      kDRAllFilesystems

      The key for accessing the name or properties for the file in all filesystems together.

      When this key is used to refer to a name, it refers to the base name (which has no naming restrictions).

      Available in OS X v10.2 and later.

    • kDRApplicationIdentifier

      kDRApplicationIdentifier

      (ISO/Joliet) The key for indicating the application identifier.

      Value is a CFStringRef. Only the first 32 characters (ISO) or 16 characters (Joliet) will be used, after being mapped into a legal character set.

      Available in OS X v10.2 and later.

    • kDRAttributeModificationDate

      kDRAttributeModificationDate

      The property key for the item's attribute modification date.

      Value is a CFDateRef.

      Available in OS X v10.2 and later.

    • kDRBackupDate

      kDRBackupDate

      The property key for the item's backup date.

      Value is a CFDateRef.

      Available in OS X v10.2 and later.

    • kDRBibliographicFile

      kDRBibliographicFile

      (ISO/Joliet) The key for indicating the bibliographic file.

      Value is a DRFileRef in DRContentObject.h Reference (which must be in the root directory).

      Available in OS X v10.2 and later.

    • kDRBlockSize

      kDRBlockSize

      The key for indicating the block size of the track.

      Value is a CFNumberRef, currently always 2048. Do not change.

      Available in OS X v10.2 and later.

    • kDRContentModificationDate

      kDRContentModificationDate

      The property key for the item's content modification date.

      Value is a CFDateRef.

      Available in OS X v10.2 and later.

    • kDRCopyrightFile

      kDRCopyrightFile

      (ISO/Joliet) The key for indicating the copyright file.

      Value is a DRFileRef in DRContentObject.h Reference (which must be in the root directory).

      Available in OS X v10.2 and later.

    • kDRCreationDate

      kDRCreationDate

      The property key for the item's creation date.

      Value is a CFDateRef.

      Available in OS X v10.2 and later.

    • kDRDataPreparer

      kDRDataPreparer

      (ISO/Joliet) The key for indicating the data preparer.

      Value is a CFStringRef.

      Available in OS X v10.2 and later.

    • kDRDefaultDate

      kDRDefaultDate

      The default date for any unspecified dates in the filesystem.

      Value is a CFDateRef. The current date and time is used if unspecified.

      Available in OS X v10.2 and later.

    • kDREffectiveDate

      kDREffectiveDate

      The property key for the item's effective date, the date at which the contents become valid.

      Value is a CFDateRef.

      Available in OS X v10.2 and later.

    • kDRExpirationDate

      kDRExpirationDate

      The property key for the item's expiration date, the date at which the contents become no longer valid.

      Value is a CFDateRef.

      Available in OS X v10.2 and later.

    • kDRHFSPlus

      kDRHFSPlus

      The key for accessing the HFS+ name/properties for the file.

      HFS+ names can be up to 255 decomposed unicode characters long.

      Available in OS X v10.2 and later.

    • kDRHFSPlusCatalogNodeID

      kDRHFSPlusCatalogNodeID

      The property key for the item's catalog node ID (HFS+ only).

      Value is a CFNumber. Currently, this value if set is only a suggestion. The burn engine will attempt to use this node ID, but may use another value if it needs to resolve conflicts. Default behavior is to allocate node IDs incrementally from kHFSFirstUserCatalogNodeID .

      Available in OS X v10.2 and later.

    • kDRHFSPlusTextEncodingHint

      kDRHFSPlusTextEncodingHint

      The property key for the item's text encoding hint (HFS+ only).

      Value is a CFNumber. This value is used by the MacOS to help when converting the natively UTF-16 filename into an 8-bit-per-character representation (such as MacRoman, Shift-JIS, or UTF8). If not set, default behavior is to call CFStringGetMostCompatibleMacStringEncoding in CFString Reference (CFStringGetSmallestEncoding in CFString Reference ()).

      Available in OS X v10.2 and later.

    • kDRInvisible

      kDRInvisible

      The property key for the invisibility of the object.

      Value is a CFBooleanRef.

      Available in OS X v10.2 and later.

    • kDRISO9660

      kDRISO9660

      The key for accessing the ISO-9660 properties for the file.

      This key is used to refer specifically to the properties for the file.

      This key cannot be used to refer to the name of the file; it is ambiguous, since the name may be in either level 1 or level 2 format.

      Available in OS X v10.2 and later.

    • kDRISO9660LevelOne

      kDRISO9660LevelOne

      The key for accessing the ISO-9660 level 1 name for the file.

      This key is used to refer specifically to the name generated for ISO-9660 if the ISO level is set to 1. When used for a property, it is equivalent in use to the kDRISO9660 key and acts as a synonym for that key.

      ISO9660 level 1 names are in the form typically known as 8.3 - eight characters of name and three characters of extension (if it's a file; directories can't have extensions). Character set is limited to A-Z, 0-9, and _.

      Available in OS X v10.2 and later.

    • kDRISO9660LevelTwo

      kDRISO9660LevelTwo

      The key for accessing the ISO-9660 level 2 name for the file.

      This key is used to refer specifically to the name generated for ISO-9660 if the ISO level is set to 2. When used for a property, it is equivalent in use to the kDRISO9660 key and acts as a synonym for that key.

      ISO9660 level 2 names can be 32 chars long, are limited to a subset of the 7-bit ASCII chars (capital letters, numbers, space, punctuation), and are only allowed one "." character.

      Available in OS X v10.2 and later.

    • kDRISO9660VersionNumber

      kDRISO9660VersionNumber

      The property key for the ISO9660 version number for the object.

      Value is a CFNumber, default value is 1.

      Available in OS X v10.2 and later.

    • kDRISOLevel

      kDRISOLevel

      The key for indicating the ISO level of the ISO-9660 filesystem on the track.

      Value is a CFNumberRef, currently should be 1 or 2.

      Available in OS X v10.2 and later.

    • kDRISOMacExtensions

      kDRISOMacExtensions

      (ISO/Joliet) Whether to add ISO/Joliet Mac extensions when appropriate.

      Value is a CFBooleanRef.

      Available in OS X v10.2 and later.

    • kDRISORockRidgeExtensions

      kDRISORockRidgeExtensions

      (ISO/Joliet) Whether to add RockRidge (POSIX extensions) when appropriate.

      Value is a CFBooleanRef.

      Available in OS X v10.2 and later.

    • kDRJoliet

      kDRJoliet

      The key for accessing the Joliet name/properties for the file.

      Joliet names can be 64 precomposed unicode characters long, but are only allowed one "." character and many punctuation characters are illegal.

      Available in OS X v10.2 and later.

    • kDRMacExtendedFinderFlags

      kDRMacExtendedFinderFlags

      The property key for the item's extended Finder flags (MacOS only).

      Value is a CFNumber.

      Available in OS X v10.2 and later.

    • kDRMacFileCreator

      kDRMacFileCreator

      The property key for a file's creator (MacOS only).

      Value is a CFDataRef containing an OSType.

      Available in OS X v10.2 and later.

    • kDRMacFileType

      kDRMacFileType

      The property key for a file's type (MacOS only).

      Value is a CFDataRef containing an OSType.

      Available in OS X v10.2 and later.

    • kDRMacFinderFlags

      kDRMacFinderFlags

      The property key for the item's Finder flags (MacOS only).

      Value is a CFNumber. The "invisible" bit is ignored - use kDRInvisible instead.

      Available in OS X v10.2 and later.

    • kDRMacFinderHideExtension

      kDRMacFinderHideExtension

      The property key for hiding the extension of the object.

      A CFBooleanRef indicating whether the extension should be hidden in the Finder or not. The default is false and only applies to files.

      Available in OS X v10.5 and later.

    • kDRMacIconLocation

      kDRMacIconLocation

      The property key for the item's icon location in its parent folder (MacOS only).

      Value is a CFDataRef containing a Point.

      Available in OS X v10.2 and later.

    • kDRMacScrollPosition

      kDRMacScrollPosition

      The property key for the folder's scroll position (MacOS only).

      Value is a CFDataRef containing a Point.

      Available in OS X v10.2 and later.

    • kDRMacWindowBounds

      kDRMacWindowBounds

      The property key for the window bounds for a folder (MacOS only).

      Value is a CFDataRef containing a Rect.

      Available in OS X v10.2 and later.

    • kDRMacWindowView

      kDRMacWindowView

      The property key for the folder's window view (MacOS only).

      Value is a CFNumber.

      Available in OS X v10.2 and later.

    • kDRPosixFileMode

      kDRPosixFileMode

      The posix file mode.

      Value is a CFNumber.

      Available in OS X v10.2 and later.

    • kDRPosixGID

      kDRPosixGID

      The posix file GID.

      Value is a CFNumber.

      Available in OS X v10.2 and later.

    • kDRPosixUID

      kDRPosixUID

      The posix file UID.

      Value is a CFNumber.

      Available in OS X v10.2 and later.

    • kDRPublisher

      kDRPublisher

      (ISO/Joliet) The key for indicating the publisher string.

      Value is a CFStringRef.

      Available in OS X v10.2 and later.

    • kDRRecordingDate

      kDRRecordingDate

      The property key for the item's recording date.

      Value is a CFDateRef.

      Available in OS X v10.2 and later.

    • kDRSuppressMacSpecificFiles

      kDRSuppressMacSpecificFiles

      Whether to suppress Mac-specific files from non-HFS filesystems.

      Value is a CFBooleanRef.

      Available in OS X v10.3 and later.

    • kDRSystemIdentifier

      kDRSystemIdentifier

      (ISO/Joliet) The key for indicating the system identifier.

      Value is a CFStringRef. Only the first 32 characters (ISO) or 16 characters (Joliet) will be used, after being mapped into a legal character set. Note, this value will NOT be used if Mac extensions are turned on - with Mac extensions, the system identifier will always be "APPLE COMPUTER, INC., TYPE: 0002" or "APPLE INC., TYPE: 0002"

      Available in OS X v10.2 and later.

    • kDRUDF

      kDRUDF

      The key for accessing the UDF name/properties for the file.

      Available in OS X v10.4 and later.

    • kDRUDFApplicationIdentifierSuffix

      kDRUDFApplicationIdentifierSuffix

      Optional key. A CFData object containing at most 8 bytes of data. See the UDF specs for details.

      Available in OS X v10.4 and later.

    • kDRUDFExtendedFilePermissions

      kDRUDFExtendedFilePermissions

      Optional key. Specifies the extended UDF file permissions of this file.

      Value is a CFNumberRef. Bit 0: Change attributes for others (low order bit) Bit 1: Delete permissions for others Bit 2: Change attributes for group Bit 3: Delete permissions for group Bit 4: Change attributes for owner Bit 5: Delete permissions for owner Bit 6 & 7: Reserved If this key is not present, kDRPosixFileMode will be used with the above bits being set to the corresponding write bit for owner, group, and others. If kDRPosixFileMode is not present, the file mode from the file on disc will be used, again using the write bit for these permissions.

      Available in OS X v10.4 and later.

    • kDRUDFInterchangeLevel

      kDRUDFInterchangeLevel

      Optional key. This property key defines the volume interchange level. See the UDF specs for details.

      Available in OS X v10.4 and later.

    • kDRUDFMaxInterchangeLevel

      kDRUDFMaxInterchangeLevel

      Optional key. This property key defines the maximum volume interchange level number. See the UDF specs for details.

      Available in OS X v10.4 and later.

    • kDRUDFMaxVolumeSequenceNumber

      kDRUDFMaxVolumeSequenceNumber

      Optional key. This property key defines the maximum volume sequence number. See the UDF specs for details.

      Available in OS X v10.4 and later.

    • kDRUDFPrimaryVolumeDescriptorNumber

      kDRUDFPrimaryVolumeDescriptorNumber

      Optional key. This property key defines the primary volume sequence number. See the UDF specs for details.

      Available in OS X v10.4 and later.

    • kDRUDFRealTimeFile

      kDRUDFRealTimeFile

      Optional key. Specifies whether this file is to be marked as a UDF Real-Time file.

      Value is a CFBooleanRef.

      Available in OS X v10.4 and later.

    • kDRUDFVersion102

      kDRUDFVersion102

      This value is used in kDRUDFWriteVersion .

      Available in OS X v10.4 and later.

    • kDRUDFVersion150

      kDRUDFVersion150

      This value is used in kDRUDFWriteVersion .

      Available in OS X v10.4 and later.

    • kDRUDFVolumeSequenceNumber

      kDRUDFVolumeSequenceNumber

      Optional key. This property key defines the volume sequence number. See the UDF specs for details.

      Available in OS X v10.4 and later.

    • kDRUDFVolumeSetIdentifier

      kDRUDFVolumeSetIdentifier

      Optional key. The Volume Set Identifier for the UDF volume set. If this key is not present, kDRVolumeSet will be used if present. The Volume Set Identifier is composed of the Volume Set Timestamp, the Implementation Use, and a the string contained in this property.

      Available in OS X v10.4 and later.

    • kDRUDFVolumeSetImplementationUse

      kDRUDFVolumeSetImplementationUse

      Optional key. A CFData object containing at most 8 bytes of data. See the UDF specs for details.

      Available in OS X v10.4 and later.

    • kDRUDFVolumeSetTimestamp

      kDRUDFVolumeSetTimestamp

      Optional key. See the UDF specs for details.

      Available in OS X v10.4 and later.

    • kDRUDFWriteVersion

      kDRUDFWriteVersion

      Optional key. This property key defines the version for the UDF structures written to disk. Values are definde in UDF Version types.

      Available in OS X v10.4 and later.

    • kDRVolumeCheckedDate

      kDRVolumeCheckedDate

      (HFS+) The key for indicating the volume-checked date.

      Value is a CFDateRef. kDRDefaultDate is used if unspecified.

      Available in OS X v10.2 and later.

    • kDRVolumeCreationDate

      kDRVolumeCreationDate

      The key for indicating the volume creation date.

      Value is a CFDateRef. kDRDefaultDate is used if unspecified.

      Available in OS X v10.2 and later.

    • kDRVolumeEffectiveDate

      kDRVolumeEffectiveDate

      (ISO/Joliet) The date and time at which the volume is effective.

      Value is a CFDateRef. Empty if unspecified.

      Available in OS X v10.2 and later.

    • kDRVolumeExpirationDate

      kDRVolumeExpirationDate

      (ISO/Joliet) The date and time at which the volume expires.

      Value is a CFDateRef. Empty if unspecified.

      Available in OS X v10.2 and later.

    • kDRVolumeModificationDate

      kDRVolumeModificationDate

      The key for indicating the volume modification date.

      Value is a CFDateRef. kDRDefaultDate is used if unspecified.

      Available in OS X v10.2 and later.

    • kDRVolumeSet

      kDRVolumeSet

      (ISO/Joliet) The key for indicating the volume set name.

      Value is a CFStringRef.

      Available in OS X v10.2 and later.

    Import Statement