Image decoding plug-in status codes
enum
{
IDE_OK =0,
IDE_Error = -1,
IDE_InvalidOp = -2,
IDE_InvalidParam = -3,
IDE_NotImplemented = -4,
IDE_TruncatedData = -5,
IDE_UnknownFormat = -6,
IDE_CorruptData = -7,
IDE_TooBig = -8,
IDE_NoPage = -9,
IDE_CreateBitmap = -10,
IDE_Cancelled = -11,
IDE_NoMetadata = -12,
IDE_NoAudio = -13,
IDE_FatalError = -14,
IDE_EmbeddedData = -15,
IDE_NoColorProfile = -16,
IDE_FirstPlugInError = -1000,
};
Value | Meaning |
---|---|
IDE_OK |
Success |
IDE_Error |
Unspecified error |
IDE_InvalidOp |
Operation cannot be completed at this time |
IDE_InvalidParam |
Invalid parameters |
IDE_NotImplemented |
Missing implementation |
IDE_TruncatedData |
Premature EOF encountered |
IDE_UnknownFormat |
Unknown input format |
IDE_CorruptData |
Bad format / corrupt data |
IDE_TooBig |
Image is too big |
IDE_NoPage |
Specified page does not exist |
IDE_CreateBitmap |
Error creating bitmap |
IDE_Cancelled |
Operation cancelled by user |
IDE_NoMetadata |
No metadata exists for the specified page of the image |
IDE_NoAudio |
No audio clip exists for the image |
IDE_FatalError |
Unhandled exception |
IDE_EmbeddedData |
No embedded data exists for the specified page of the image |
IDE_NoColorProfile |
No color profile exists for the image |
IDE_FirstPlugInError |
Plug-in defined private status codes as -1000, -1001, etc... |
There are two types of error codes associated with an ID_Plugin, Standard and plug-in-defined. Standard error codes are defined below and are implemented by the host application, while plug-in-defined error codes are defined by the plug-in.
Header: ID_PlugIn.h