PrimoBurner(tm) for C++  4.2
CD, DVD and Blu-ray Software Development Kit
primo::burner::DeviceError Namespace Reference

Device error codes. More...

Enumerations

enum  Enum {
  Start = 0x01000000,
  End = 0x01FFFFFF,
  Success = GenericError::Success,
  InternalError = GenericError::InternalError,
  InvalidParameters = (DeviceError::Start + 1),
  InvalidDeviceHandle = (DeviceError::Start + 2),
  OSFeatureNotAvailable = (DeviceError::Start + 4),
  NotDVDRW = (DeviceError::Start + 5),
  InvalidFormatType = (DeviceError::Start + 6),
  DVDInvalidWriteMethod = (DeviceError::Start + 7),
  DVDWriteMethodNotSupported = (DeviceError::Start + 8),
  WriteSpeedsNotAvailable = (DeviceError::Start + 9),
  SingleOpenSession = (DeviceError::Start + 10),
  InvalidWriteMethod = (DeviceError::Start + 11),
  NoActiveSession = (DeviceError::Start + 12),
  InvalidQSubChannelCRC = (DeviceError::Start + 13),
  InvalidCDSession = (DeviceError::Start + 14),
  NotBDFormattable = (DeviceError::Start + 15),
  NotEnoughFormattableCapacity = (DeviceError::Start + 16)
}
 DeviceError::Enum. More...

Detailed Description

Device error codes.

These codes are returned by the following methods: Device::lastError, Device::unitReadyState.


Enumeration Type Documentation

enum Enum

DeviceError::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.

Remarks:
Windows NT 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003
NotDVDRW 

Media does not appear to be DVD?RW or DVD-RAM.

InvalidFormatType 

Media does not support the specified format type.

DVDInvalidWriteMethod 

Invalid write method.

DVDWriteMethodNotSupported 

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.

InvalidWriteMethod 

Raised when unsupported write method was given to the Device::startCDSession method.

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.

 All Classes Namespaces Files Functions Variables Enumerations Enumerator