IMAPIv1 Result Codes

The methods of the IMAPI interfaces return S_OK if the method was successful. Otherwise, they return one of the following result codes.

Constant/value Description
IMAPI_S_PROPERTIESIGNORED
0x40200
An unknown property was passed in a property set and it was ignored.
IMAPI_S_BUFFER_TO_SMALL
0x40201
The output buffer is too small.
IMAPI_E_NOTOPENED
0x8004020b
A call to IDiscMaster::Open has not been made.
IMAPI_E_NOTINITIALIZED
0x8004020c
A recorder object has not been initialized.
IMAPI_E_USERABORT
0x8004020d
The user canceled the operation.
IMAPI_E_GENERIC
0x8004020e
A generic error occurred.
IMAPI_E_MEDIUM_NOTPRESENT
0x8004020f
There is no disc in the device.
IMAPI_E_MEDIUM_INVALIDTYPE
0x80040210
The media is not a type that can be used.
IMAPI_E_DEVICE_NOPROPERTIES
0x80040211
The recorder does not support any properties.
IMAPI_E_DEVICE_NOTACCESSIBLE
0x80040212
The device cannot be used or is already in use.
IMAPI_E_DEVICE_NOTPRESENT
0x80040213
The device is not present or has been removed.
IMAPI_E_DEVICE_INVALIDTYPE
0x80040214
The recorder does not support an operation.
IMAPI_E_INITIALIZE_WRITE
0x80040215
The drive interface could not be initialized for writing.
IMAPI_E_INITIALIZE_ENDWRITE
0x80040216
The drive interface could not be initialized for closing.
IMAPI_E_FILESYSTEM
0x80040217
An error occurred while enabling/disabling file system access or during auto-insertion detection.
IMAPI_E_FILEACCESS
0x80040218
An error occurred while writing the image file.
IMAPI_E_DISCINFO
0x80040219
An error occurred while trying to read disc data from the device.
IMAPI_E_TRACKNOTOPEN
0x8004021a
An audio track is not open for writing.
IMAPI_E_TRACKOPEN
0x8004021b
An open audio track is already being staged.
IMAPI_E_DISCFULL
0x8004021c
The disc cannot hold any more data.
IMAPI_E_BADJOLIETNAME
0x8004021d
The application tried to add a badly named element to a disc.
IMAPI_E_INVALIDIMAGE
0x8004021e
The staged image is not suitable for a burn. It has been corrupted or cleared and has no usable content.
IMAPI_E_NOACTIVEFORMAT
0x8004021f
An active format master has not been selected using IDiscMaster::SetActiveDiscMasterFormat.
IMAPI_E_NOACTIVERECORDER
0x80040220
An active disc recorder has not been selected using IDiscMaster::SetActiveDiscRecorder.
IMAPI_E_WRONGFORMAT
0x80040221
A call to IJolietDiscMaster has been made when IRedbookDiscMaster is the active format, or vice versa. To use a different format, change the format and clear the image file contents.
IMAPI_E_ALREADYOPEN
0x80040222
A call to IDiscMaster::Open has already been made against this object by your application.
IMAPI_E_WRONGDISC
0x80040223
The IMAPI multi-session disc has been removed from the active recorder.
IMAPI_E_FILEEXISTS
0x80040224
The file to add is already in the image file and the overwrite flag was not set.
IMAPI_E_STASHINUSE
0x80040225
Another application is already using the IMAPI stash file required to stage a disc image. Try again later.
IMAPI_E_DEVICE_STILL_IN_USE
0x80040226
Another application is already using this device, so IMAPI cannot access the device.
IMAPI_E_LOSS_OF_STREAMING
0x80040227
Content streaming was lost; a buffer under-run may have occurred.
IMAPI_E_COMPRESSEDSTASH
0x80040228
The stash is located on a compressed volume and cannot be read.
IMAPI_E_ENCRYPTEDSTASH
0x80040229
The stash is located on an encrypted volume and cannot be read.
IMAPI_E_NOTENOUGHDISKFORSTASH
0x8004022a
There is not enough free space to create the stash file on the specified volume.
IMAPI_E_REMOVABLESTASH
0x8004022b
The selected stash location is on a removable media.
IMAPI_E_CANNOT_WRITE_TO_MEDIA
0x8004022c
The media cannot be written to.
IMAPI_E_TRACK_NOT_BIG_ENOUGH
0x8004022d
The track is not big enough.

Requirements

Requirement Value
Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Imapierror.h