Custom Platform Support Development Kit  1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
FCMErrors.h File Reference

This file contains all the errors used in FCM. More...

#include "FCMPreConfig.h"
#include "FCMPostConfig.h"

Go to the source code of this file.

Macros

#define FCM_SUCCESS_CODE(x)   ((x)==FCM_SUCCESS)
 Returns True if x is success code, else False.
 
#define FCM_FAILURE_CODE(x)   ((x)!=FCM_SUCCESS)
 Returns True if x is not success code, else False.
 
#define FCM_GENERAL_ERROR_BASE   0x00000000L
 Base code for general errors.
 
#define FCM_SUCCESS   (FCM_GENERAL_ERROR_BASE+0x00000000L)
 Success code.
 
#define FCM_GENERAL_ERROR   (FCM_GENERAL_ERROR_BASE+0x00000001L)
 General error code.
 
#define FCM_CLS_NOT_DEFINED   (FCM_GENERAL_ERROR_BASE+0x00000002L)
 Error code is returned if class is not defined.
 
#define FCM_MEM_NOT_AVAILABLE   (FCM_GENERAL_ERROR_BASE+0x00000003L)
 Error code is returned if memory is not available.
 
#define FCM_NO_INTERFACE   (FCM_GENERAL_ERROR_BASE+0x00000004L)
 Error code is returned if interface is not available.
 
#define FCM_NO_CLASSFACTORY   (FCM_GENERAL_ERROR_BASE+0x00000005L)
 Error code is returned if the class factory is not available.
 
#define FCM_PLUGIN_LOAD_FAILED   (FCM_GENERAL_ERROR_BASE+0x00000006L)
 Error code is returned if plug-in fails to load.
 
#define FCM_REG_CLS_NOT_DEFINED   (FCM_GENERAL_ERROR_BASE+0x00000007L)
 Error code is returned if the registration class is not defined.
 
#define FCM_PLUGIN_FILE_NOT_FOUND   (FCM_GENERAL_ERROR_BASE+0x00000008L)
 Error code is returned if the plug-in file is not found.
 
#define FCM_SERVICE_ALREADY_EXISTS   (FCM_GENERAL_ERROR_BASE+0x00000009L)
 Error code is returned if the service already exists.
 
#define FCM_SERVICE_NOT_FOUND   (FCM_GENERAL_ERROR_BASE+0x0000000AL)
 Error code is returned if the service is not found.
 
#define FCM_NO_AGGREGATION   (FCM_GENERAL_ERROR_BASE+0x0000000BL)
 Error code is returned if the interface is not found in case of aggregation.
 
#define FCM_INVALID_PARAM   (FCM_GENERAL_ERROR_BASE+0x0000000CL)
 Error code is returned if an invalid param is passed.
 
#define FCM_NEED_INITIALIZE   (FCM_GENERAL_ERROR_BASE+0x0000000DL)
 Error code is returned if initialization is needed.
 
#define FCM_METHOD_NOT_IMPLEMENTED   (FCM_GENERAL_ERROR_BASE+0x0000000EL)
 Error code is returned if the method is not implemented.
 
#define FCM_INVALID_STRUCT_SIZE   (FCM_GENERAL_ERROR_BASE+0x0000000FL)
 Error code is returned if the structure size is invalid.
 
#define FCM_OPERATION_CANCELLED   (FCM_GENERAL_ERROR_BASE+0x00000010L)
 Error code is returned if the operation is cancelled.
 
#define FCM_DICT_ERROR_BASE   0x00002000L
 Base code for dictionary errors.
 
#define FCM_DICT_ERR_NOTFOUND   (FCM_DICT_ERROR_BASE+0x00000001L)
 Error code is returned for lookup of a nonexistent key.
 
#define FCM_DICT_ERR_WRONGTYPE   (FCM_DICT_ERROR_BASE+0x00000002L)
 Error code is returned if the key exists but holds a value of a different type than requested.
 
#define FCM_DICT_ERR_CANTWRITE   (FCM_DICT_ERROR_BASE+0x00000003L)
 Error code is returned if attempted to put or remove in a dictionary where that is not allowed (e.g. structure dicts).
 
#define FCM_DICT_ERR_BUFFERTOOSMALL   (FCM_DICT_ERROR_BASE+0x00000004L)
 Error code is returned if value does not fit into the buffer you passed.
 
#define FCM_DICT_ERR_EXISING_KEY_FOUND   (FCM_DICT_ERROR_BASE+0x00000005L)
 Error code is returned if the key is already existing in the dictionary.
 
#define FCM_DICT_ERR_INVALID_KEY_TYPE   (FCM_DICT_ERROR_BASE+0x00000006L)
 Error code is returned if the type is not found in FCMDictionaryRecType.
 
#define FCM_DICT_ERR_KEY_NOT_FOUND   (FCM_DICT_ERROR_BASE+0x00000007L)
 Error code is returned if the key is not found.
 
#define FCM_REG_DICT_ERR_NOTFOUND   (FCM_DICT_ERROR_BASE+0x00000008L)
 Error code is returned if the registry entry is not found in dictionary.
 
#define FCM_NOTIFY_ERR_BASE   0x00004000L
 Base code for notification errors.
 
#define FCM_NOTIFY_ERR_NOTIFCLIENT_NOT_FOUND   (FCM_NOTIFY_ERR_BASE+0x00000001L)
 Error code is returned if the notification client is not found.
 
#define FCM_NOTIFY_ERR_CLIENT_ALREADY_REG   (FCM_NOTIFY_ERR_BASE+0x00000002L)
 Error code is returned if the client is already registered for notificationID.
 
#define FCM_NOTIFY_ERR_INVALID_CLIENT   (FCM_NOTIFY_ERR_BASE+0x00000003L)
 Error code is returned if the client is invalid.
 
#define FCM_DOM_ERR_BASE   0x00008000L
 Base code for DOM errors.
 
#define FCM_DOM_ERR_DOC_OPEN_FAILED   (FCM_DOM_ERR_BASE+0x00000001L)
 Error code is returned when failed to open the document.
 
#define FCM_DOM_ERR_DOC_CLOSE_FAILED   (FCM_DOM_ERR_BASE+0x00000002L)
 Error code is returned when failed to close the document.
 
#define FCM_DOM_ERR_LAYER_HAS_NO_PARENT   (FCM_DOM_ERR_BASE+0x00000003L)
 Error code is returned when layer doesn't have a parent and client requested for one.
 
#define FCM_DOM_ERR_LAYER_HAS_NO_FRAMES   (FCM_DOM_ERR_BASE+0x00000004L)
 Error code is returned when the layer has no frames.
 
#define FCM_DOM_ERR_LAYER_INVALID_FRAMEINDEX   (FCM_DOM_ERR_BASE+0x00000005L)
 Error code is returned if frameindex is invalid. Valid range is from 0 to (FrameDuration-1).
 
#define FCM_DOM_ERR_FRAME_NO_FRAMESCRIPT   (FCM_DOM_ERR_BASE+0x00000006L)
 Error code is returned when frame doesn't have a script associated with it.
 
#define FCM_DOM_ERR_INTERNAL   (FCM_DOM_ERR_BASE+0x00000007L)
 Error code is returned if an internal error occurs and user has to abort.
 
#define FCM_DOM_ERR_INVALID_OBJECT   (FCM_DOM_ERR_BASE+0x00000008L)
 Error code is returned if the underlying object is not alive or it has changed.
 
#define FCM_IO_STREAM_ERR_BASE   0x0000C000L
 Base code for I/O errors.
 
#define FCM_IO_STREAM_ERR_STREAM_NOT_OPEN   (FCM_IO_STREAM_ERR_BASE+0x00000001L)
 Error code is returned if file cannot be opened.
 
#define FCM_IO_STREAM_ERR_STREAM_ALREADY_OPEN   (FCM_IO_STREAM_ERR_BASE+0x00000002L)
 Error code is returned if the file is already opened.
 
#define FCM_IO_STREAM_ERR_READ_PAST_END   (FCM_IO_STREAM_ERR_BASE+0x00000003L)
 Error code is returned while trying to read beyond end of file.
 
#define FCM_IO_STREAM_ERR_BAD_ACCESS_MODE   (FCM_IO_STREAM_ERR_BASE+0x00000004L)
 Error code is returned if bad access is encountered.
 
#define FCM_IO_STREAM_ERR_WROTE_PAST_END   (FCM_IO_STREAM_ERR_BASE+0x00000005L)
 Error code is returned when trying to write to beyond stream end.
 
#define FCM_EXPORT_ERR_BASE   0x0000D000L
 Base code for export errors.
 
#define FCM_EXPORT_FAILED   (FCM_EXPORT_ERR_BASE+0x00000001L)
 Error code is returned when export fails.
 
#define FCM_APPLICATION_ERR_BASE   0x0000E000L
 Base code for 'Adobe Animate CC' Application errors.
 
#define FCM_FLASH_APPLICATION_ERR_BASE   FCM_APPLICATION_ERR_BASE
 Base code for FlashApplication errors. More...
 
#define FCM_APPLICATION_ERR_NO_OUTPUT_CONSOLE   (FCM_APPLICATION_ERR_BASE + 0x00000001L)
 Error code is returned when output console is not found.
 
#define FCM_FLASH_APPLICATION_ERR_NO_OUTPUT_CONSOLE   FCM_APPLICATION_ERR_NO_OUTPUT_CONSOLE
 Error code thrown when output console is not found. More...
 

Detailed Description

This file contains all the errors used in FCM.

Macro Definition Documentation

#define FCM_FLASH_APPLICATION_ERR_BASE   FCM_APPLICATION_ERR_BASE

Base code for FlashApplication errors.

Deprecated:
This macro is deprecated. Please use FCM_APPLICATION_ERR_BASE.
#define FCM_FLASH_APPLICATION_ERR_NO_OUTPUT_CONSOLE   FCM_APPLICATION_ERR_NO_OUTPUT_CONSOLE

Error code thrown when output console is not found.

Deprecated:
This macro is deprecated. Please use FCM_APPLICATION_ERR_NO_OUTPUT_CONSOLE.