AnnoGetLastError

#include “BiAnno.h”

ANNO_ERRORS CALLBACK AnnoGetLastError ()

Description

This function retrieves with the last annotation error that occurred.

Parameters

Return value

Error code.

Programming Notes

Available error codes:

ANNO_NO_ERROR

Operation successful

ANNO_INVALID_PARAMETER

The parameter of the called function is invalid

ANNO_NOT_ENOUGH_MEMORY

Not enough memory

ANNO_ERROR_ADD_MENU_ITEM

Error adding new custom pop-up menu item

ANNO_INTERNAL_ERROR

Internal error

ANNO_CUSTOM_MENU_EMPTY

There is no menu item in the custom pop-up menu.

ANNO_ERROR_DISPLAY_CUSTOM_MENU

Error displaying custom pop-up menu.

ANNO_WRONG_OBJ_TYPE

The type of the annotation object is invalid.

ANNO_GET_COLOR

Error getting the color of the annotation object

ANNO_GET_HYPERLINK

Error getting the hyperlink of the annotation object

 

Code Example

None