MrSID Decode SDK for Raster Reference Manual
9.5.1.4427
|
00001 /* $Id$ */ 00002 /* ////////////////////////////////////////////////////////////////////////// 00003 // // 00004 // This code is Copyright (c) 2004 LizardTech, Inc, 1008 Western Avenue, // 00005 // Suite 200, Seattle, WA 98104. Unauthorized use or distribution // 00006 // prohibited. Access to and use of this code is permitted only under // 00007 // license from LizardTech, Inc. Portions of the code are protected by // 00008 // US and foreign patents and other filings. All Rights Reserved. // 00009 // // 00011 /* PUBLIC */ 00012 00021 #ifndef LT_STATUS_H 00022 #define LT_STATUS_H 00023 00024 #if defined(LT_COMPILER_MS) 00025 #pragma warning(push,4) 00026 #endif 00027 00039 typedef lt_uint32 LT_STATUS; 00040 00041 00046 00052 #define LT_STS_Success ((LT_STATUS)0) 00053 00060 #define LT_STS_Failure ((LT_STATUS)1) 00061 00069 #define LT_STS_Uninit ((LT_STATUS)2) 00070 00079 #define LT_STS_BadParam ((LT_STATUS)3) 00080 00094 #define LT_STS_BadContext ((LT_STATUS)4) 00095 00102 #define LT_STS_ForeignError ((LT_STATUS)5) 00103 00113 #define LT_STS_NotReached ((LT_STATUS)6) 00114 00121 #define LT_STS_NullPointer ((LT_STATUS)7) 00122 00129 #define LT_STS_OutOfMemory ((LT_STATUS)8) 00130 00135 #define LT_STS_Unimplemented ((LT_STATUS)9) 00136 00144 00146 #define LT_SUCCESS( err ) ((err)==LT_STS_Success) 00147 00148 #define LT_FAILURE( err ) ((err)!=LT_STS_Success) 00149 00153 #if defined(LT_COMPILER_MS) 00154 #pragma warning(pop) 00155 #endif 00156 00157 #endif /* LT_STATUS_H */