MrSID Decode SDK for Raster Reference Manual  9.1.0.4045
lt_status.h
Go to the documentation of this file.
1 /* $Id$ */
2 /* //////////////////////////////////////////////////////////////////////////
3 // //
4 // This code is Copyright (c) 2004 LizardTech, Inc, 1008 Western Avenue, //
5 // Suite 200, Seattle, WA 98104. Unauthorized use or distribution //
6 // prohibited. Access to and use of this code is permitted only under //
7 // license from LizardTech, Inc. Portions of the code are protected by //
8 // US and foreign patents and other filings. All Rights Reserved. //
9 // //
11 /* PUBLIC */
12 
21 #ifndef LT_STATUS_H
22 #define LT_STATUS_H
23 
24 #if defined(LT_COMPILER_MS)
25  #pragma warning(push,4)
26 #endif
27 
40 
41 
46 
52 #define LT_STS_Success ((LT_STATUS)0)
53 
60 #define LT_STS_Failure ((LT_STATUS)1)
61 
69 #define LT_STS_Uninit ((LT_STATUS)2)
70 
79 #define LT_STS_BadParam ((LT_STATUS)3)
80 
94 #define LT_STS_BadContext ((LT_STATUS)4)
95 
102 #define LT_STS_ForeignError ((LT_STATUS)5)
103 
113 #define LT_STS_NotReached ((LT_STATUS)6)
114 
121 #define LT_STS_NullPointer ((LT_STATUS)7)
122 
129 #define LT_STS_OutOfMemory ((LT_STATUS)8)
130 
135 #define LT_STS_Unimplemented ((LT_STATUS)9)
136 
144 
146 #define LT_SUCCESS( err ) ((err)==LT_STS_Success)
147 
148 #define LT_FAILURE( err ) ((err)!=LT_STS_Success)
149 
153 #if defined(LT_COMPILER_MS)
154  #pragma warning(pop)
155 #endif
156 
157 #endif /* LT_STATUS_H */

LizardTech