PrimoBurner(tm) for C++
5.0
CD, DVD and Blu-ray Software Development Kit
|
Enumerations | |
enum | Enum { Start = 0x01000000 , End = 0x01FFFFFF , Success = primo::burner::GenericError::Success , InternalError = primo::burner::GenericError::InternalError , InvalidParameters = (DeviceError::Start + 1) , InvalidDeviceHandle = (DeviceError::Start + 2) , OSFeatureNotAvailable = (DeviceError::Start + 4) , NotDVDRW = (DeviceError::Start + 5) , InvalidFormatType = (DeviceError::Start + 6) , InvalidWriteMethod = (DeviceError::Start + 7) , WriteSpeedsNotAvailable = (DeviceError::Start + 9) , SingleOpenSession = (DeviceError::Start + 10) , NoActiveSession = (DeviceError::Start + 12) , InvalidQSubChannelCRC = (DeviceError::Start + 13) , InvalidCDSession = (DeviceError::Start + 14) , NotBDFormattable = (DeviceError::Start + 15) , NotEnoughFormattableCapacity = (DeviceError::Start + 16) } |
DeviceError::Enum. More... | |
Device error codes.
These codes are returned by ErrorInfo::code, when ErrorInfo::facility returns ErrorFacility::Device.
If ErrorInfo::code is less than DeviceError::Start, the code is one of the values defined by primo::scsi::ScsiSense.
To get an ErrorInfo object, call the Device::error method.
enum Enum |
Enumerator | |
---|---|
Start | This is not an actual error code. This is a base value for Device errors. |
Success | Success. |
InternalError | Internal error. Normally this error should not happen. It indicates an unexpected problem in PrimoBurner components. |
InvalidParameters | Invalid parameters passed to an interface method. |
InvalidDeviceHandle | Device handle is no longer valid. The device handle is assigned by the operating system when a device is opened and is used to communicate with the device driver. The handle can become invalid when for example an external device is disconnected from the system. |
OSFeatureNotAvailable | Method or feature is not available when using OS handle device.
|
NotDVDRW | Raised by Device::formatDVD when media is not DVD+RW, DVD-RW, or DVD-RAM. |
InvalidFormatType | Media does not support the specified format type. |
InvalidWriteMethod | Selected write method is not supported for the current media. |
WriteSpeedsNotAvailable | The device did not report the supported write speeds. |
SingleOpenSession | The ReadSessionInfo method was called for a disc that has only one session and it is open. |
NoActiveSession | Raised when Device::endCDSession is called but there is no active session. This may happen if Device::startCDSession has failed or has never been called. |
InvalidQSubChannelCRC | Raised by Device::createQSubChannel, when the computed CRC of Q Sub-channel of a CD does not match the CRC read from the disc. |
InvalidCDSession | Raised by Device::lockOutputBuffer, if the CDSession object that has been specified with the Device::startCDSession method is not valid. |
NotBDFormattable | Raised by Device::formatBD when media is not BD-R SRM or BD-RE. |
NotEnoughFormattableCapacity | Raised by Device::format when the last session on DVD-RW could not be grown to accommodate the number of data blocks requested by the user. |