PrimoBurner(tm) for C++  4.6
CD, DVD and Blu-ray Software Development Kit
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
primo::burner::BlockDeviceError Namespace Reference

BlockDevice error codes. More...

Enumerations

enum  Enum {
  Start = 0x05000000,
  End = 0x05FFFFFF,
  Success = GenericError::Success,
  InternalError = GenericError::InternalError,
  DeviceNotSet = (BlockDeviceError::Start + 2),
  MediumNotPresent = (BlockDeviceError::Start + 3),
  InvalidParameters = (BlockDeviceError::Start + 4),
  InvalidBlockSize = (BlockDeviceError::Start + 5),
  CommandSequence = (BlockDeviceError::Start + 6),
  IncompatibleMedia = (BlockDeviceError::Start + 7),
  InvalidFilenameLength = (BlockDeviceError::Start + 8),
  InvalidDataSource = (BlockDeviceError::Start + 9)
}
 BlockDeviceError::Enum. More...
 

Detailed Description

BlockDevice error codes.

These error codes are returned by the BlockDevice::error method.

Enumeration Type Documentation

enum Enum

BlockDeviceError::Enum.

Enumerator
Start 

This is not an actual error code.

This is a base value for BlockDevice errors.

Success 

Success.

InternalError 

Internal error.

Normally this error should not happen. It indicates an unexpected problem in PrimoBurner components.

DeviceNotSet 

Device object is not set.

MediumNotPresent 

Medium not present in the device.

InvalidParameters 

Invalid parameters passed to the Write method.

InvalidBlockSize 

Buffer size is not multiple of 2048 bytes (BlockSize::CDRom, BlockSize::DVD and BlocksSize::BD.

CommandSequence 

Command sequence error.

IncompatibleMedia 

Media is not compatible with the attempted operation.

InvalidFilenameLength 

Invalid filename length.

Max filename length is 127 chars.

InvalidDataSource 

The data source for all files must be set to DataSource::Disc.