ADC Home > Reference Library > Reference > Audio > Carbon > Disc Recording Framework Reference
|
DRCoreErase.h |
Includes: | <CoreServices/CoreServices.h> <DiscRecording/DRCoreObject.h> <DiscRecording/DRCoreDevice.h> <AvailabilityMacros.h> |
Erase object interfaces for Disc Recording.
DREraseCopyStatus |
Obtains the status of the erase process.
extern CFDictionaryRef DREraseCopyStatus( DREraseRef erase) ;
erase
Returns a reference to a CFDictionary object.
This function obtains a reference to a CFDictionary object containing the status of the erase process, including the percentage complete and any errors reported. The reference is implicitly retained by the caller. This is the same dictionary sent to observers of kDREraseStatusChangedNotification .
DREraseCreate |
Creates a new eraser.
extern DREraseRef DREraseCreate( DRDeviceRef device) ;
device
Returns a reference to a new DRErase opaque type.
DREraseGetDevice |
Obtains a reference to the device containing the disc to erase.
extern DRDeviceRef DREraseGetDevice( DREraseRef erase) ;
erase
Returns reference to the device containing the disc to erase.
DREraseGetProperties |
Returns properties of the erase.
extern CFDictionaryRef DREraseGetProperties( DREraseRef erase) ;
erase
Returns a CFDictionary object containing the erase properties.
DREraseGetTypeID |
Obtains the type identifier of all DRErase instances.
extern CFTypeID DREraseGetTypeID( void) ;
DREraseSetProperties |
Sets the properties of the erase process.
extern void DREraseSetProperties( DREraseRef erase, CFDictionaryRef properties) ;
erase
properties
DREraseStart |
Begin the erase process.
extern OSStatus DREraseStart( DREraseRef erase) ;
erase
An error code indicating if the erase could be started.
kDREraseStatusChangedNotification |
extern const CFStringRef kDREraseStatusChangedNotification ;
The notification sent when a DRErase object has updated status.
kDREraseTypeComplete |
extern const CFStringRef kDREraseTypeComplete ;
A CFString object indicating the erase operation should erase every byte on the disc. This operation is slow, taking on the order of 30 minutes.
kDREraseTypeKey |
extern const CFStringRef kDREraseTypeKey ;
This key points to a CFString object describing the type of erase to be performed. If this key is not present, a kDREraseTypeQuick erase type is assumed.
kDREraseTypeQuick |
extern const CFStringRef kDREraseTypeQuick ;
A CFString object indicating the erase operation should do the minimal amount of work to make the disc appear blank. This operation typically takes only a minute or two.
DREraseRef |
typedef struct __DRErase* DREraseRef;
This is the type of a reference to DRErases.
|