IF_StatusCodes enum

Image filter return codes.

Syntax

enum
{
   IFE_OK =0,
   IFE_Error = -1,
   IFE_InvalidOp = -2,
   IFE_InvalidParam = -3,
   IFE_NotImplemented = -4,
   IFE_InvalidFilter = -5,
   IFE_Cancelled = -6,
   IFE_ImageFilterError = -7,
   IFE_Malloc = -8,
   IFE_Decode = -9,
   IFE_FatalError = -10,
   IFE_HostVersion = -11,
   IFE_FilterNotFound = -12,
  
   IFE_FirstPlugInError = -1000,
};

Constants

Value Meaning

IFE_OK

Success

IFE_Error

Unspecified error

IFE_InvalidOp

Operation cannot be completed at this time

IFE_InvalidParam

Invalid parameters

IFE_NotImplemented

Missing implementation

IFE_InvalidFilter

The specified filter index is invalid

IFE_Cancelled

Operation cancelled by user

IFE_ImageFilterError

The specified filter could not be applied

IFE_Malloc

Memory allocation error

IFE_Decode

Image decode error

IFE_FatalError

Unhandled exception

IFE_HostVersion

Host application does not support correct plug-in interface version

IFE_FilterNotFound

Specified filter could not be found

IFE_FirstPlugInError

Plug-in-defined errors start at -1000

Remarks

There are two types of error codes associated with an image filtering plug-in, 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.

Requirements

Header: IF_PlugIn.h