6 #ifndef PIL_ERROR_CODE_DEFINES_H
7 #define PIL_ERROR_CODE_DEFINES_H
12 #define MAX_ERROR_MSG_LEN 128
14 typedef int PIL_ERROR_CODE;
24 PIL_INVALID_ARGUMENTS,
34 PIL_INSUFFICIENT_RESOURCES,
36 PIL_INSUFFICIENT_PERMISSIONS,
38 PIL_DEADLOCK_DETECTED,
40 PIL_THREAD_NOT_JOINABLE,
44 PIL_ONLY_PARTIALLY_READ_WRITTEN,
48 PIL_XML_PARSING_ERROR,
52 }
typedef PIL_ERROR_CODES;
60 PIL_ERROR_CODE m_ErrorCode;
64 char m_ErrorMessage[MAX_ERROR_MSG_LEN];
65 }
typedef PIL_ErrorHandle;