ADC Home > Reference Library > Reference > Audio > Carbon > Disc Recording Framework Reference
|
DRCoreDevice.h |
Includes: | <CoreServices/CoreServices.h> <DiscRecording/DRCoreObject.h> <AvailabilityMacros.h> <math.h> <IOKit/IOKitLib.h> |
Device interfaces for Disc Recording.
DRCopyDeviceArray |
Returns an array of all writable devices connected to the system.
extern CFArrayRef DRCopyDeviceArray( void) ;
A CFArray containing the devices attached to the system at the time the function is called.
FireWire, USB, and other technologies allow users to connect and disconnect
devices while a computer is on. The device array returned by this function
is a snapshot that is not guaranteed to stay current for the lifetime
of a process.
Since device connections are dynamic, a better option than this function is to
maintain a list of attached devices by listening for
kDRDeviceAppearedNotification and kDRDeviceDisappearedNotification
notifications. This function is most useful for initially populating a list of
devices.
DRDeviceAcquireExclusiveAccess |
Attempts to acquire an exclusive access session with the device.
extern OSStatus DRDeviceAcquireExclusiveAccess( DRDeviceRef device) ;
device
An error code indicating whether exclusive access could be acquired.
If this function succeeds, the device becomes unusable by any other process.
All volumes mounted from media in the drive must be unmounted before
exclusive access can be granted. The Disc Recording engine attempts to
unmount volumes for you, but this call will fail if some volumes could
not be unmounted.
Your application may call this function multiple times. Each time,
a call to DRDeviceReleaseExclusiveAccess must be made at a later time
or the process will never release its exclusive access.
DRDeviceAcquireMediaReservation |
Indicates an interest in reserving blank media.
extern void DRDeviceAcquireMediaReservation( DRDeviceRef device) ;
device
Blank media participates in a reservation system thats allows applications
to express claims on blank media to other applications. Indicating an
interest to reserve blank media does not guarantee acquisition--there may be
other applications that have indicated an interest in the same media.
Your application will receive a kDRDeviceStatusChangedNotification
notification with a value of true for the kDRDeviceMediaIsReservedKey
when a blank media reservation has been acquired.
This function may be called multiple times. Each time it is called, a call to
DRDeviceReleaseMediaReservation must be made at a later time or the
process will never fully rescind its interest in the blank media reservation.
DRDeviceCloseTray |
Commands a device to close its tray.
extern OSStatus DRDeviceCloseTray( DRDeviceRef device) ;
device
An error code indicating if the tray could be closed.
This function will close the tray of the device, if it has one.
DRDeviceCopyDeviceForBSDName |
Returns the device reference corresponding to the BSD device name.
extern DRDeviceRef DRDeviceCopyDeviceForBSDName( CFStringRef name) ;
name
A DRDevice reference for the device corresponding to the BSD name.
DRDeviceCopyDeviceForIORegistryEntryPath |
Returns the device reference corresponding to the IORegistry entry.
extern DRDeviceRef DRDeviceCopyDeviceForIORegistryEntryPath( CFStringRef path) ;
path
A DRDevice reference for the device corresponding to the IORegistry entry path.
DRDeviceCopyInfo |
Returns information about the device.
extern CFDictionaryRef DRDeviceCopyInfo( DRDeviceRef device) ;
device
A CFDictionary object identifying the device and its capabilities.
This function returns information that identifies the device and describes its capabilites. The information includes the vendor's name, the product identifier, whether the device can burn CDs or DVDs, and so on.
DRDeviceCopyStatus |
Returns the status of the device.
extern CFDictionaryRef DRDeviceCopyStatus( DRDeviceRef device) ;
device
A CFDictionary object describing the status of the device and any media it contains.
This function returns information about the status of the device. This information includes whether media is present or not, and, if present, a descripton of the media including its size, kind, and so on.
DRDeviceEjectMedia |
Commands a device to unmount and eject media.
extern OSStatus DRDeviceEjectMedia( DRDeviceRef device) ;
device
An error code indicating whether the media could be ejected.
If media is present but cannot be unmounted, this function will fail and return an error. If there is no media in the device, this function is equivalent to DRDeviceOpenTray .
DRDeviceGetTypeID |
Returns the type identifier of all DRDevice instances.
extern CFTypeID DRDeviceGetTypeID( void) ;
DRDeviceIsValid |
Determines whether the device is still attached and turned on.
extern Boolean DRDeviceIsValid( DRDeviceRef device) ;
device
A boolean indicating whether the device reference is still usable (TRUE) or not (FALSE).
Devices can be removed from a system while a client has a reference to them. This function allows clients to check if a device reference they are holding is still usable.
DRDeviceKPSForXFactor |
Converts from media type specific X-factors to K/s values.
extern float DRDeviceKPSForXFactor( DRTypeRef deviceOrMediaType, float xfactor) ;
deviceOrMediaType
The media type specific X-factor converted to K/s, or 0 if the X-factor could not be converted to a K/s value.
Since X-factors are media type specific and DiscRecording uses K/s values to specify burn speeds, this function can be used to easily and accurately convert from raw K/s values to X-factors when appropriate.
DRDeviceOpenTray |
Commands a device to open up its tray.
extern OSStatus DRDeviceOpenTray( DRDeviceRef device) ;
device
An error code indicating if the tray could be opened.
This function will open the tray of the device, if it has one, if and only if the device does not currently have mounted media.
DRDeviceReleaseExclusiveAccess |
Release exclusive access to a device.
extern void DRDeviceReleaseExclusiveAccess( DRDeviceRef device) ;
device
This function will release one request for exclusive access made by a process that called DRDeviceAcquireExclusiveAccess. A call to this function must be made for every call to DRDeviceAcquireExclusiveAccess , otherwise the process will never release its exclusive access.
DRDeviceReleaseMediaReservation |
Rescind an interest in the blank media reservation.
extern void DRDeviceReleaseMediaReservation( DRDeviceRef device) ;
device
If the process currently has a reservation, it will be released and passed on to the next interested process.
DRDeviceXFactorForKPS |
Converts from K/s values to media type specific X-factors.
extern float DRDeviceXFactorForKPS( DRTypeRef deviceOrMediaType, float kps) ;
deviceOrMediaType
The K/s value converted to media type specific X-factor, or 0 if the K/s value could not be converted to a media type specfic X-factor.
Since DiscRecording uses K/s values to specify burn speeds and X-factors are media type specific, this function can be used to easily and accurately convert from X-factors to raw K/s values when appropriate.
kDRDeviceAppearedNotification |
extern const CFStringRef kDRDeviceAppearedNotification;
Notification sent when a device has become available. Because users can connect and disconnect FireWire, USB, and other devices while a computer is on, you should maintain your own list of attached devices and rely on notifications to keep the list current.
kDRDeviceBurnSpeedBD1x |
extern const float kDRDeviceBurnSpeedBD1x;
A predefined value for the minimum BD burn speed of 4,496.0 kilobytes per second, where 1 kilobyte = 1,000 bytes.
kDRDeviceBurnSpeedCD1x |
extern const float kDRDeviceBurnSpeedCD1x;
A predefined value for the minimum CD burn speed of 176.4 kilobytes per second, where 1 kilobyte = 1,000 bytes.
kDRDeviceBurnSpeedDVD1x |
extern const float kDRDeviceBurnSpeedDVD1x;
A predefined value for the minimum DVD burn speed of 1,385.0 kilobytes per second, where 1 kilobyte = 1,000 bytes.
kDRDeviceBurnSpeedHDDVD1x |
extern const float kDRDeviceBurnSpeedHDDVD1x;
A predefined value for the minimum HD DVD burn speed of 4,496.0 kilobytes per second, where 1 kilobyte = 1,000 bytes.
kDRDeviceBurnSpeedMax |
extern const float kDRDeviceBurnSpeedMax;
A predefined value used to request the maximum speed at which a device can perform a burn. On receiving a burn request of kDRDeviceBurnSpeedMax, a drive selects the highest usable speed given its capabilities, the bus bandwidth, and the capabilities of the recordable disc.
kDRDeviceBurnSpeedsKey |
extern const CFStringRef kDRDeviceBurnSpeedsKey;
A key for the dictionary returned by DRDeviceCopyStatus . The value of this key is a reference to a CFArray object containing the available burn speeds. This key may not be accessible if there is no disc in the drive.
kDRDeviceCanTestWriteCDKey |
extern const CFStringRef kDRDeviceCanTestWriteCDKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can perform a test write to CD media.
kDRDeviceCanTestWriteDVDKey |
extern const CFStringRef kDRDeviceCanTestWriteDVDKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can perform a test write to DVD media.
kDRDeviceCanUnderrunProtectCDKey |
extern const CFStringRef kDRDeviceCanUnderrunProtectCDKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device has burn underrun protection when writing to CD media.
kDRDeviceCanUnderrunProtectDVDKey |
extern const CFStringRef kDRDeviceCanUnderrunProtectDVDKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device has burn underrun protection when writing to DVD media.
kDRDeviceCanWriteBDKey |
extern const CFStringRef kDRDeviceCanWriteBDKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to some type of BD-based (Blu-ray) media.
kDRDeviceCanWriteBDREKey |
extern const CFStringRef kDRDeviceCanWriteBDREKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to BD-RE media.
kDRDeviceCanWriteBDRKey |
extern const CFStringRef kDRDeviceCanWriteBDRKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to BD-R media.
kDRDeviceCanWriteCDKey |
extern const CFStringRef kDRDeviceCanWriteCDKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to some type of CD-based media.
kDRDeviceCanWriteCDRawKey |
extern const CFStringRef kDRDeviceCanWriteCDRawKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value
is a reference to a CFBoolean object indicating whether the device supports a raw mode
burn strategy for CD.
A raw mode burn writes client-defined lead-in, program area, and lead-out data to CD media
in a single pass. It supports options such as single-pass writing of a multisession
disc. The Multi-Media Command Set (MMC) standard name for this strategy is "raw" but it
is often called disc-at-once (DAO).
kDRDeviceCanWriteCDRKey |
extern const CFStringRef kDRDeviceCanWriteCDRKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to CD-R media.
kDRDeviceCanWriteCDRWKey |
extern const CFStringRef kDRDeviceCanWriteCDRWKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to CD-RW media.
kDRDeviceCanWriteCDSAOKey |
extern const CFStringRef kDRDeviceCanWriteCDSAOKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device supports a session-at-once (SAO) burn strategy for CD.
kDRDeviceCanWriteCDTAOKey |
extern const CFStringRef kDRDeviceCanWriteCDTAOKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device supports a track-at-once (TAO) burn strategy for CD.
kDRDeviceCanWriteCDTextKey |
extern const CFStringRef kDRDeviceCanWriteCDTextKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write CD-Text information.
kDRDeviceCanWriteDVDDAOKey |
extern const CFStringRef kDRDeviceCanWriteDVDDAOKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device supports a disc-at-once (DAO) burn strategy on DVD media. This burn strategy does not apply to CD media.
kDRDeviceCanWriteDVDKey |
extern const CFStringRef kDRDeviceCanWriteDVDKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to some type of DVD-based media.
kDRDeviceCanWriteDVDPlusRDoubleLayerKey |
extern const CFStringRef kDRDeviceCanWriteDVDPlusRDoubleLayerKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to DVD+R double layer media.
kDRDeviceCanWriteDVDPlusRKey |
extern const CFStringRef kDRDeviceCanWriteDVDPlusRKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to DVD+R media.
kDRDeviceCanWriteDVDPlusRWDoubleLayerKey |
extern const CFStringRef kDRDeviceCanWriteDVDPlusRWDoubleLayerKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to DVD+RW double layer media.
kDRDeviceCanWriteDVDPlusRWKey |
extern const CFStringRef kDRDeviceCanWriteDVDPlusRWKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to DVD+RW media.
kDRDeviceCanWriteDVDRAMKey |
extern const CFStringRef kDRDeviceCanWriteDVDRAMKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to DVD-RAM media.
kDRDeviceCanWriteDVDRDualLayerKey |
extern const CFStringRef kDRDeviceCanWriteDVDRDualLayerKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to DVD-R DL media.
kDRDeviceCanWriteDVDRKey |
extern const CFStringRef kDRDeviceCanWriteDVDRKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to DVD-R media.
kDRDeviceCanWriteDVDRWDualLayerKey |
extern const CFStringRef kDRDeviceCanWriteDVDRWDualLayerKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to DVD-RW DL media.
kDRDeviceCanWriteDVDRWKey |
extern const CFStringRef kDRDeviceCanWriteDVDRWKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to DVD-RW media.
kDRDeviceCanWriteHDDVDKey |
extern const CFStringRef kDRDeviceCanWriteHDDVDKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to some type of HD DVD-based media.
kDRDeviceCanWriteHDDVDRAMKey |
extern const CFStringRef kDRDeviceCanWriteHDDVDRAMKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to HD DVD-RAM media.
kDRDeviceCanWriteHDDVDRDualLayerKey |
extern const CFStringRef kDRDeviceCanWriteHDDVDRDualLayerKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to HD DVD-R DL media.
kDRDeviceCanWriteHDDVDRKey |
extern const CFStringRef kDRDeviceCanWriteHDDVDRKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to HD DVD-R media.
kDRDeviceCanWriteHDDVDRWDualLayerKey |
extern const CFStringRef kDRDeviceCanWriteHDDVDRWDualLayerKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to HD DVD-RW DL media.
kDRDeviceCanWriteHDDVDRWKey |
extern const CFStringRef kDRDeviceCanWriteHDDVDRWKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to HD DVD-RW media.
kDRDeviceCanWriteIndexPointsKey |
extern const CFStringRef kDRDeviceCanWriteIndexPointsKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write index points to CD media.
kDRDeviceCanWriteISRCKey |
extern const CFStringRef kDRDeviceCanWriteISRCKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write International Standard Recording Code (ISRC) to CD media.
kDRDeviceCanWriteKey |
extern const CFStringRef kDRDeviceCanWriteKey;
A key for the kDRDeviceWriteCapabilitiesKey dictionary in the device info dictionary. The value is a reference to a CFBoolean object indicating whether the device can write to any type of media.
kDRDeviceCurrentWriteSpeedKey |
extern const CFStringRef kDRDeviceCurrentWriteSpeedKey;
A key for the dictionary returned by DRDeviceCopyStatus . The value of this key is a reference to a CFNumber object containing the current write speed in KB/s, where 1KB = 1000 bytes.
kDRDeviceDisappearedNotification |
extern const CFStringRef kDRDeviceDisappearedNotification;
Notification sent when a device is no longer available. Because users can connect and disconnect FireWire, USB, and other devices while a computer is on, you should maintain your own list of attached devices and rely on notifications to keep the list current.
kDRDeviceFirmwareRevisionKey |
extern const CFStringRef kDRDeviceFirmwareRevisionKey;
A key for the dictionary object returned by DRDeviceCopyInfo . The value of this key is a reference to a CFString object containing the firmware revision extracted from the device.
kDRDeviceIORegistryEntryPathKey |
extern const CFStringRef kDRDeviceIORegistryEntryPathKey;
A key for the dictionary object returned by DRDeviceCopyInfo . The value of this key is a reference to a CFString object containing a copy of the path to the device entry in the IORegistry.
kDRDeviceIsBusyKey |
extern const CFStringRef kDRDeviceIsBusyKey;
A key for the dictionary returned by DRDeviceCopyStatus . The value of this key is a reference to a CFBoolean object indicating if the device is busy.
kDRDeviceIsTrayOpenKey |
extern const CFStringRef kDRDeviceIsTrayOpenKey;
A key for the dictionary returned by DRDeviceCopyStatus . The value of this key is a reference to a CFBoolean object indicating if the device's tray is open.
kDRDeviceLoadingMechanismCanEjectKey |
extern const CFStringRef kDRDeviceLoadingMechanismCanEjectKey;
A key for the dictionary object returned by DRDeviceCopyInfo . The value of this key is a reference to a CFBoolean object that indicates if the loading mechanism of the drive can eject.
kDRDeviceLoadingMechanismCanInjectKey |
extern const CFStringRef kDRDeviceLoadingMechanismCanInjectKey;
A key for the dictionary object returned by DRDeviceCopyInfo . The value of this key is a reference to a CFBoolean object that indicates if the loading mechanism of the drive can inject.
kDRDeviceLoadingMechanismCanOpenKey |
extern const CFStringRef kDRDeviceLoadingMechanismCanOpenKey;
A key for the dictionary object returned by DRDeviceCopyInfo . The value of this key is a reference to a CFBoolean object that indicates if the loading mechanism of the drive can open.
kDRDeviceMaximumWriteSpeedKey |
extern const CFStringRef kDRDeviceMaximumWriteSpeedKey;
A key for the dictionary returned by DRDeviceCopyStatus . The value of this key is a reference to a CFNumber object containing the maximum write speed in KB/s, where 1KB = 1000 bytes.
kDRDeviceMediaBlocksFreeKey |
extern const CFStringRef kDRDeviceMediaBlocksFreeKey;
A key in the kDRDeviceMediaInfoKey dictionary. The value of this key is a reference to a CFNumber object containing the number of free blocks on the disc.
kDRDeviceMediaBlocksOverwritableKey |
extern const CFStringRef kDRDeviceMediaBlocksOverwritableKey;
A key in the kDRDeviceMediaInfoKey dictionary. The value of this key is a reference to a CFNumber object containing the number of writable blocks on the disc.
kDRDeviceMediaBlocksUsedKey |
extern const CFStringRef kDRDeviceMediaBlocksUsedKey;
A key in the kDRDeviceMediaInfoKey dictionary. The value of this key is a reference to a CFNumber object containing the number of blocks used by data on the disc.
kDRDeviceMediaBSDNameKey |
extern const CFStringRef kDRDeviceMediaBSDNameKey;
A key in the kDRDeviceMediaInfoKey dictionary. The value of this key is a reference to a CFString object containing the BSD name assigned to the device.
kDRDeviceMediaClassBD |
extern const CFStringRef kDRDeviceMediaClassBD;
One value for the kDRDeviceMediaClassKey dictionary key in the kDRDeviceMediaInfoKey dictionary. This value indicates that the disc is BD-based (Blu-ray).
kDRDeviceMediaClassCD |
extern const CFStringRef kDRDeviceMediaClassCD;
One value for the kDRDeviceMediaClassKey dictionary key in the kDRDeviceMediaInfoKey dictionary. This value indicates that the disc is CD-based.
kDRDeviceMediaClassDVD |
extern const CFStringRef kDRDeviceMediaClassDVD;
One value for the kDRDeviceMediaClassKey dictionary key in the kDRDeviceMediaInfoKey dictionary. This value indicates that the disc is DVD-based.
kDRDeviceMediaClassHDDVD |
extern const CFStringRef kDRDeviceMediaClassHDDVD;
One value for the kDRDeviceMediaClassKey dictionary key in the kDRDeviceMediaInfoKey dictionary. This value indicates that the disc is HD DVD-based.
kDRDeviceMediaClassKey |
extern const CFStringRef kDRDeviceMediaClassKey;
A key for the kDRDeviceMediaInfoKey dictionary. The value of this key is a reference to a CFString object indicating the class of media present in the drive.
kDRDeviceMediaClassUnknown |
extern const CFStringRef kDRDeviceMediaClassUnknown;
One value for the kDRDeviceMediaClassKey dictionary key in the kDRDeviceMediaInfoKey dictionary. This value indicates that the media class is unknown.
kDRDeviceMediaDoubleLayerL0DataZoneBlocksKey |
extern const CFStringRef kDRDeviceMediaDoubleLayerL0DataZoneBlocksKey;
A key in the kDRDeviceMediaInfoKey dictionary. The value of this key is a reference to a CFNumber object containing the number of blocks on layer 0 of a double layer burnable disc.
kDRDeviceMediaInfoKey |
extern const CFStringRef kDRDeviceMediaInfoKey;
A key for the dictionary returned by DRDeviceCopyStatus . The value of this key is a reference to a CFDictionary object containing information about the media in the drive.
kDRDeviceMediaIsAppendableKey |
extern const CFStringRef kDRDeviceMediaIsAppendableKey;
A key in the kDRDeviceMediaInfoKey dictionary. The value of this key is a reference to a CFBoolean object indicating whether the disc is appendable -- in other words, whether new sessions can be written.
kDRDeviceMediaIsBlankKey |
extern const CFStringRef kDRDeviceMediaIsBlankKey;
A key in the kDRDeviceMediaInfoKey dictionary. The value of this key is a reference to a CFBoolean object indicating whether the media is blank and has no data on it.
kDRDeviceMediaIsErasableKey |
extern const CFStringRef kDRDeviceMediaIsErasableKey;
A key in the kDRDeviceMediaInfoKey dictionary. The value of this key is a reference to a CFBoolean object indicating whether the disc can be erased.
kDRDeviceMediaIsOverwritableKey |
extern const CFStringRef kDRDeviceMediaIsOverwritableKey;
A key in the kDRDeviceMediaInfoKey dictionary. The value of this key is a reference to a CFBoolean object indicating whether the disc is writable -- in other words, whether it can be fully (re)written.
kDRDeviceMediaIsReservedKey |
extern const CFStringRef kDRDeviceMediaIsReservedKey;
A key in the kDRDeviceMediaInfoKey dictionary. The value of this key is a reference to a CFBoolean object indicating whether the disc is reserved for exclusive use by the current process.
kDRDeviceMediaSessionCountKey |
extern const CFStringRef kDRDeviceMediaSessionCountKey;
A key in the kDRDeviceMediaInfoKey dictionary. The value of this key is a reference to a CFNumber object containing the number of sessions on the disc.
kDRDeviceMediaStateInTransition |
extern const CFStringRef kDRDeviceMediaStateInTransition;
One value for the kDRDeviceMediaStateKey dictionary key. This value indicates that the media is in transition, typically spinning up after being inserted or spinning down in preparation for ejecting.
kDRDeviceMediaStateKey |
extern const CFStringRef kDRDeviceMediaStateKey;
A key for the dictionary returned by DRDeviceCopyStatus . The value of this key is a reference to a CFString object containing information about the state of the media.
kDRDeviceMediaStateMediaPresent |
extern const CFStringRef kDRDeviceMediaStateMediaPresent;
One value for the kDRDeviceMediaStateKey dictionary key. This value indicates that some kind of media is present in the drive. Check the value of the kDRDeviceMediaInfoKey dictionary key for specific media information.
kDRDeviceMediaStateNone |
extern const CFStringRef kDRDeviceMediaStateNone;
One value for the kDRDeviceMediaStateKey dictionary key. This value indicates that there is no disc present in the drive.
kDRDeviceMediaTrackCountKey |
extern const CFStringRef kDRDeviceMediaTrackCountKey;
A key in the kDRDeviceMediaInfoKey dictionary. The value of this key is a reference to a CFNumber object containing the total number of tracks on the disc in all sessions.
kDRDeviceMediaTypeBDR |
extern const CFStringRef kDRDeviceMediaTypeBDR;
One value for the kDRDeviceMediaTypeKey dictionary key in the kDRDeviceMediaInfoKey dictionary. This value indicates that the disc is a BD-R.
kDRDeviceMediaTypeBDR |
- kDRDeviceMediaTypeBDRE
extern const CFStringRef kDRDeviceMediaTypeBDRE;
One value for the kDRDeviceMediaTypeKey dictionary key in the kDRDeviceMediaInfoKey dictionary. This value indicates that the disc is a BD-RE.
kDRDeviceMediaTypeBDRE |
- kDRDeviceMediaTypeBDR
extern const CFStringRef kDRDeviceMediaTypeBDRE;
One value for the kDRDeviceMediaTypeKey dictionary key in the kDRDeviceMediaInfoKey dictionary. This value indicates that the disc is a BD-RE.
kDRDeviceMediaTypeBDROM |
extern const CFStringRef kDRDeviceMediaTypeBDROM;
One value for the kDRDeviceMediaTypeKey dictionary key in the kDRDeviceMediaInfoKey dictionary. This value indicates that the disc is a BD-ROM.
kDRDeviceMediaTypeCDR |
extern const CFStringRef kDRDeviceMediaTypeCDR;
One value for the kDRDeviceMediaTypeKey dictionary key in the kDRDeviceMediaInfoKey dictionary. This value indicates that the disc is a CD-R.
kDRDeviceMediaTypeCDROM |
extern const CFStringRef kDRDeviceMediaTypeCDROM;
One value for the kDRDeviceMediaTypeKey dictionary key in the kDRDeviceMediaInfoKey dictionary. This value indicates that the disc is a CD-ROM.
kDRDeviceMediaTypeCDRW |
extern const CFStringRef kDRDeviceMediaTypeCDRW;
One value for the kDRDeviceMediaTypeKey dictionary key in the kDRDeviceMediaInfoKey dictionary. This value indicates that the disc is a CD-RW.
kDRDeviceMediaTypeDVDPlusR |
extern const CFStringRef kDRDeviceMediaTypeDVDPlusR;
One value for the kDRDeviceMediaTypeKey dictionary key in the kDRDeviceMediaInfoKey dictionary. This value indicates that the disc is a DVD+R.
kDRDeviceMediaTypeDVDPlusRDoubleLayer |
extern const CFStringRef kDRDeviceMediaTypeDVDPlusRDoubleLayer;
One value for the kDRDeviceMediaTypeKey dictionary key in the media info dictionary. This value indicates that the disc is a DVD+R Double Layer.
kDRDeviceMediaTypeDVDPlusRW |
extern const CFStringRef kDRDeviceMediaTypeDVDPlusRW;
One value for the kDRDeviceMediaTypeKey dictionary key in the kDRDeviceMediaInfoKey dictionary. This value indicates that the disc is a DVD+RW.
kDRDeviceMediaTypeDVDPlusRWDoubleLayer |
extern const CFStringRef kDRDeviceMediaTypeDVDPlusRWDoubleLayer;
One value for the kDRDeviceMediaTypeKey dictionary key in the media info dictionary. This value indicates that the disc is a DVD+RW Double Layer.
kDRDeviceMediaTypeDVDR |
extern const CFStringRef kDRDeviceMediaTypeDVDR;
One value for the kDRDeviceMediaTypeKey dictionary key in the kDRDeviceMediaInfoKey dictionary. This value indicates that the disc is a DVD-R.
kDRDeviceMediaTypeDVDRAM |
extern const CFStringRef kDRDeviceMediaTypeDVDRAM;
One value for the kDRDeviceMediaTypeKey dictionary key in the kDRDeviceMediaInfoKey dictionary. This value indicates that the disc is a DVD-RAM.
kDRDeviceMediaTypeDVDRDualLayer |
extern const CFStringRef kDRDeviceMediaTypeDVDRDualLayer;
One value for the kDRDeviceMediaTypeKey dictionary key in the kDRDeviceMediaInfoKey dictionary. This value indicates that the disc is a DVD-R DL.
kDRDeviceMediaTypeDVDROM |
extern const CFStringRef kDRDeviceMediaTypeDVDROM;
One value for the kDRDeviceMediaTypeKey dictionary key in the kDRDeviceMediaInfoKey dictionary. This value indicates that the disc is a DVD-ROM.
kDRDeviceMediaTypeDVDRW |
extern const CFStringRef kDRDeviceMediaTypeDVDRW;
One value for the kDRDeviceMediaTypeKey dictionary key in the kDRDeviceMediaInfoKey dictionary. This value indicates that the disc is a DVD-RW.
kDRDeviceMediaTypeDVDRWDualLayer |
extern const CFStringRef kDRDeviceMediaTypeDVDRWDualLayer;
One value for the kDRDeviceMediaTypeKey dictionary key in the kDRDeviceMediaInfoKey dictionary. This value indicates that the disc is a DVD-RW DL.
kDRDeviceMediaTypeHDDVDR |
extern const CFStringRef kDRDeviceMediaTypeHDDVDR;
One value for the kDRDeviceMediaTypeKey dictionary key in the kDRDeviceMediaInfoKey dictionary. This value indicates that the disc is a HD DVD-R.
kDRDeviceMediaTypeHDDVDRAM |
extern const CFStringRef kDRDeviceMediaTypeHDDVDRAM;
One value for the kDRDeviceMediaTypeKey dictionary key in the kDRDeviceMediaInfoKey dictionary. This value indicates that the disc is a HD DVD-RAM.
kDRDeviceMediaTypeHDDVDRDualLayer |
extern const CFStringRef kDRDeviceMediaTypeHDDVDRDualLayer;
One value for the kDRDeviceMediaTypeKey dictionary key in the kDRDeviceMediaInfoKey dictionary. This value indicates that the disc is a HD DVD-R DL.
kDRDeviceMediaTypeHDDVDROM |
extern const CFStringRef kDRDeviceMediaTypeHDDVDROM;
One value for the kDRDeviceMediaTypeKey dictionary key in the kDRDeviceMediaInfoKey dictionary. This value indicates that the disc is a HD DVD-ROM.
kDRDeviceMediaTypeHDDVDRW |
extern const CFStringRef kDRDeviceMediaTypeHDDVDRW;
One value for the kDRDeviceMediaTypeKey dictionary key in the kDRDeviceMediaInfoKey dictionary. This value indicates that the disc is a HD DVD-RW.
kDRDeviceMediaTypeHDDVDRWDualLayer |
extern const CFStringRef kDRDeviceMediaTypeHDDVDRWDualLayer;
One value for the kDRDeviceMediaTypeKey dictionary key in the kDRDeviceMediaInfoKey dictionary. This value indicates that the disc is a HD DVD-RW DL.
kDRDeviceMediaTypeKey |
extern const CFStringRef kDRDeviceMediaTypeKey;
A key in the kDRDeviceMediaInfoKey dictionary. The value of this key is a reference to a CFString object indicating the type of media present in the drive.
kDRDeviceMediaTypeUnknown |
extern const CFStringRef kDRDeviceMediaTypeUnknown;
One value for the kDRDeviceMediaTypeKey dictionary key in the kDRDeviceMediaInfoKey dictionary. This value indicates that the disc type is unknown.
kDRDevicePhysicalInterconnectATAPI |
extern const CFStringRef kDRDevicePhysicalInterconnectATAPI;
One value for the kDRDevicePhysicalInterconnectKey dictionary key. This value indicates that the device is connected by an ATAPI interface.
kDRDevicePhysicalInterconnectFibreChannel |
extern const CFStringRef kDRDevicePhysicalInterconnectFibreChannel;
One value for the kDRDevicePhysicalInterconnectKey dictionary key. This value indicates that the device is connected by a Fibre Channel interface.
kDRDevicePhysicalInterconnectFireWire |
extern const CFStringRef kDRDevicePhysicalInterconnectFireWire;
One value for the kDRDevicePhysicalInterconnectKey dictionary key. This value indicates that the device is connected by a FireWire interface.
kDRDevicePhysicalInterconnectKey |
extern const CFStringRef kDRDevicePhysicalInterconnectKey;
A key for the dictionary object returned by DRDeviceCopyInfo . The value of this key is a reference to a CFString object containing the type of the bus the device is on.
kDRDevicePhysicalInterconnectLocationExternal |
extern const CFStringRef kDRDevicePhysicalInterconnectLocationExternal;
One value for the kDRDevicePhysicalInterconnectLocationKey dictionary key. This value indicates that the device is on an external bus.
kDRDevicePhysicalInterconnectLocationInternal |
extern const CFStringRef kDRDevicePhysicalInterconnectLocationInternal;
One value for the kDRDevicePhysicalInterconnectLocationKey dictionary key. This value indicates that the device is on an internal bus.
kDRDevicePhysicalInterconnectLocationKey |
extern const CFStringRef kDRDevicePhysicalInterconnectLocationKey;
A key for the dictionary object returned by DRDeviceCopyInfo . The value of this key is a reference to a CFString object containing the physical interconnect location.
kDRDevicePhysicalInterconnectLocationUnknown |
extern const CFStringRef kDRDevicePhysicalInterconnectLocationUnknown;
One value for the kDRDevicePhysicalInterconnectLocationKey dictionary key. This value indicates that the software cannot determine whether the device is on an internal or external bus.
kDRDevicePhysicalInterconnectSCSI |
extern const CFStringRef kDRDevicePhysicalInterconnectSCSI;
One value for the kDRDevicePhysicalInterconnectKey dictionary key. This value indicates that the device is connected by a SCSI interface.
kDRDevicePhysicalInterconnectUSB |
extern const CFStringRef kDRDevicePhysicalInterconnectUSB;
One value for the kDRDevicePhysicalInterconnectKey dictionary key. This value indicates that the device is connected by a USB interface.
kDRDeviceProductNameKey |
extern const CFStringRef kDRDeviceProductNameKey;
A key for the dictionary object returned by DRDeviceCopyInfo . The value of this key is a reference to a CFString object containing the product name extracted from the device.
kDRDeviceStatusChangedNotification |
extern const CFStringRef kDRDeviceStatusChangedNotification;
Notification sent when a device's status changes, usually because a disc has been inserted or removed. The value of the info parameter for your notification callback is equivalent to the dictionary object reference returned from a call to DRDeviceCopyStatus .
kDRDeviceSupportLevelAppleShipping |
extern const CFStringRef kDRDeviceSupportLevelAppleShipping;
One value for the kDRDeviceSupportLevelKey dictionary key. This value indicates that Apple has provided support for the device and it has shipped in a machine made by Apple.
kDRDeviceSupportLevelAppleSupported |
extern const CFStringRef kDRDeviceSupportLevelAppleSupported;
One value for the kDRDeviceSupportLevelKey dictionary key. This value indicates that Apple has provided support for the device.
kDRDeviceSupportLevelKey |
extern const CFStringRef kDRDeviceSupportLevelKey;
A key for the dictionary object returned by DRDeviceCopyInfo . The value of this key is a reference to a CFString object indicating how well the engine supports the device.
kDRDeviceSupportLevelNone |
extern const CFStringRef kDRDeviceSupportLevelNone;
One value for the kDRDeviceSupportLevelKey dictionary key. This value indicates the engine does not support the device and it cannot be used.
kDRDeviceSupportLevelUnsupported |
extern const CFStringRef kDRDeviceSupportLevelUnsupported;
One value for the kDRDeviceSupportLevelKey dictionary key. This value indicates the device is unsupported but the Disc Recording engine will try to use it anyway.
kDRDeviceSupportLevelVendorSupported |
extern const CFStringRef kDRDeviceSupportLevelVendorSupported;
One value for the kDRDeviceSupportLevelKey dictionary key. This value indicates the device vendor has provided support for the device.
kDRDeviceTrackInfoKey |
extern const CFStringRef kDRDeviceTrackInfoKey;
A key for the dictionary returned by DRDeviceCopyStatus . The value of this key is a reference to a CFDictionary object containing dictionaries describing on-disc tracks. DRTrackRef dictionaries from the kDRDeviceTrackRefsKey constant are used as keys into this dictionary.
kDRDeviceTrackRefsKey |
extern const CFStringRef kDRDeviceTrackRefsKey;
A key for the dictionary returned by DRDeviceCopyStatus . The value of this key is a reference to a CFArray object containing a list of DRTrack objects describing any tracks that are already on the disc.
kDRDeviceVendorNameKey |
extern const CFStringRef kDRDeviceVendorNameKey;
A key for the dictionary object returned by DRDeviceCopyInfo . The value of this key is a reference to a CFString object containing the vendor name extracted from the device.
kDRDeviceWriteBufferSizeKey |
extern const CFStringRef kDRDeviceWriteBufferSizeKey;
A key for the dictionary object returned by DRDeviceCopyInfo . The value of this key is a reference to a CFNumber object containing the size of the write buffer of the device.
kDRDeviceWriteCapabilitiesKey |
extern const CFStringRef kDRDeviceWriteCapabilitiesKey;
A key for the dictionary object returned by DRDeviceCopyInfo . The value of this key is a reference to a CFString object describing the capabilities the drive has for writing to different media.
DRDeviceRef |
typedef struct __DRDevice* DRDeviceRef;
This is the type of a reference to DRDevices.
DRDeviceCDXFactorForKPS |
#define DRDeviceCDXFactorForKPS(kps)
A macro for converting from a KB/s value to the equivalent x-factor (1x, 8x, 20x, etc.) for a CD burn, where 1 KB = 1000 bytes.
DRDeviceDVDXFactorForKPS |
#define DRDeviceDVDXFactorForKPS(kps)
A macro for converting from a KB/s value to the equivalent x-factor (1x, 8x, 20x, etc.) for a DVD burn, where 1 KB = 1000 bytes.
DRDeviceKPSForCDXFactor |
#define DRDeviceKPSForCDXFactor(xfactor)
Macro for converting from an x-factor (1x, 8x, 20x, etc) to the real KB/s value for a CD burn. For this macro, 1 KB = 1000 bytes.
DRDeviceKPSForDVDXFactor |
#define DRDeviceKPSForDVDXFactor(xfactor)
A macro for converting from an x-factor (1x, 8x, 20x, etc.) to the real KB/s value for a DVD burn, where 1 KB = 1000 bytes.
|