Many exported functions return a T5_Result, with a value as defined in this list. More...
Macros | |
#define | T5_SUCCESS (0x0000) |
Success. More... | |
#define | T5_TIMEOUT (0x0001) |
Timeout. More... | |
#define | T5_ERROR_NO_CONTEXT (0x1000) |
No context. More... | |
#define | T5_ERROR_NO_LIBRARY (0x1001) |
No library loaded. More... | |
#define | T5_ERROR_INTERNAL (0x1002) |
An internal error occurred. More... | |
#define | T5_ERROR_NO_SERVICE (0x1003) |
Service isn't connected. More... | |
#define | T5_ERROR_IO_FAILURE (0x1004) |
Misc IO failure. More... | |
#define | T5_ERROR_REQUEST_ID_UNKNOWN (0x1005) |
Service doesn't understand the request. More... | |
#define | T5_ERROR_INVALID_ARGS (0x1006) |
Argument(s) are invalid. More... | |
#define | T5_ERROR_DEVICE_LOST (0x1007) |
Device lost. More... | |
#define | T5_ERROR_TARGET_NOT_FOUND (0x1008) |
Target (wand) not found. More... | |
#define | T5_ERROR_INVALID_STATE (0x1009) |
Incorrect state for the request. More... | |
#define | T5_ERROR_SETTING_UNKNOWN (0x100A) |
The requested param is unknown. More... | |
#define | T5_ERROR_SETTING_WRONG_TYPE (0x100B) |
The requested param has a different type to the requested type. More... | |
#define | T5_ERROR_MISC_REMOTE (0x100C) |
Miscellaneous remote error. More... | |
#define | T5_ERROR_OVERFLOW (0x100D) |
Buffer overflow. More... | |
#define | T5_ERROR_GRAPHICS_API_UNAVAILABLE (0x100E) |
Specified graphics API is unavailable. More... | |
#define | T5_ERROR_UNSUPPORTED (0x100F) |
Action is unsupported. More... | |
#define | T5_ERROR_DECODE_ERROR (0x1010) |
Failed to decode. More... | |
#define | T5_ERROR_INVALID_GFX_CONTEXT (0x1011) |
Graphics context is invalid. More... | |
#define | T5_ERROR_GFX_CONTEXT_INIT_FAIL (0x1012) |
Failed to initialize graphics context. More... | |
#define | T5_ERROR_TRY_AGAIN (0x1015) |
Target is not currently available. More... | |
#define | T5_ERROR_UNAVAILABLE (0x1016) |
Target is unavailable. More... | |
#define | T5_ERROR_ALREADY_CONNECTED (0x1017) |
The target is already connected. More... | |
#define | T5_ERROR_NOT_CONNECTED (0x1018) |
The target is not connected. More... | |
#define | T5_ERROR_STRING_OVERFLOW (0x1019) |
Overflow during string conversion operation. More... | |
#define | T5_ERROR_SERVICE_INCOMPATIBLE (0x101A) |
Service incompatible. More... | |
#define | T5_PERMISSION_DENIED (0x101B) |
Permission denied. More... | |
#define | T5_ERROR_INVALID_BUFFER_SIZE (0x101C) |
Invalid Buffer Size. More... | |
#define | T5_ERROR_INVALID_GEOMETRY (0x101D) |
Invalid Geometry. More... | |
#define | T5_MAX_ERROR (0x8000) |
Maximum C error code. More... | |
Functions | |
T5_EXPORT const char * | t5GetResultMessage (T5_Result result) |
Many exported functions return a T5_Result, with a value as defined in this list.
#define T5_ERROR_ALREADY_CONNECTED (0x1017) |
#define T5_ERROR_GFX_CONTEXT_INIT_FAIL (0x1012) |
#define T5_ERROR_GRAPHICS_API_UNAVAILABLE (0x100E) |
#define T5_ERROR_INTERNAL (0x1002) |
#define T5_ERROR_INVALID_ARGS (0x1006) |
#define T5_ERROR_INVALID_BUFFER_SIZE (0x101C) |
#define T5_ERROR_INVALID_GEOMETRY (0x101D) |
#define T5_ERROR_INVALID_GFX_CONTEXT (0x1011) |
#define T5_ERROR_INVALID_STATE (0x1009) |
#define T5_ERROR_MISC_REMOTE (0x100C) |
#define T5_ERROR_NO_CONTEXT (0x1000) |
No context.
Some functions require either a T5_Context or a T5_Glasses. This error is returned if an invalid object is passed.
#define T5_ERROR_NO_SERVICE (0x1003) |
#define T5_ERROR_NOT_CONNECTED (0x1018) |
#define T5_ERROR_REQUEST_ID_UNKNOWN (0x1005) |
#define T5_ERROR_SERVICE_INCOMPATIBLE (0x101A) |
#define T5_ERROR_SETTING_UNKNOWN (0x100A) |
#define T5_ERROR_SETTING_WRONG_TYPE (0x100B) |
#define T5_ERROR_STRING_OVERFLOW (0x1019) |
#define T5_ERROR_TARGET_NOT_FOUND (0x1008) |
#define T5_ERROR_TRY_AGAIN (0x1015) |
#define T5_ERROR_UNAVAILABLE (0x1016) |
#define T5_ERROR_UNSUPPORTED (0x100F) |