OSDRET type
OSDRET is an enumeration type whose values are returned by some methods of OSDialog class as operation results. The type is described as follows:
typedef enum {
OSD_OK = 0,
OSD_CANCEL = 1,
OSD_INVALID_HANDLE = 2,
OSD_INVALID_PARAMETERS = 3,
OSD_READ_IMAGE_ERROR = 4,
OSD_WRITE_IMAGE_ERROR = 5
} OSDRET;
The table below describes values returned.
- OSD_OK - Operation is performed successfully.
- OSD_CANCEL - "Cancel" button is pressed.
- OSD_INVALID_HANDLE - Wrong descriptor specified.
- OSD_INVALID_PARAMETERS - Wrong parameters specified.
- OSD_READ_IMAGE_ERROR - Read Image error.
- OSD_WRITE_IMAGE_ERROR - Write Image error.
