Changeset 2965 for trunk/kLdr/kLdr.h
- Timestamp:
- Feb 13, 2007, 10:04:40 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kLdr/kLdr.h
r2964 r2965 1195 1195 * @{ 1196 1196 */ 1197 #ifdef __OS2__ 1198 # define KLDR_ERR_BASE 420000 1199 #elif defined(__WIN__) 1200 # define KLDR_ERR_BASE 420000 1201 #else 1202 # error "port me" 1203 #endif 1197 1198 #define KLDR_ERR_BASE 420000 1199 1204 1200 /** The image format is unknown. */ 1205 #define KLDR_ERR_UNKNOWN_FORMAT (KLDR_ERR_BASE + 0)1201 #define KLDR_ERR_UNKNOWN_FORMAT (KLDR_ERR_BASE + 0) 1206 1202 /** The MZ image format isn't supported by this kLdr build. */ 1207 #define KLDR_ERR_MZ_NOT_SUPPORTED (KLDR_ERR_BASE + 1)1203 #define KLDR_ERR_MZ_NOT_SUPPORTED (KLDR_ERR_BASE + 1) 1208 1204 /** The NE image format isn't supported by this kLdr build. */ 1209 #define KLDR_ERR_NE_NOT_SUPPORTED (KLDR_ERR_BASE + 2)1205 #define KLDR_ERR_NE_NOT_SUPPORTED (KLDR_ERR_BASE + 2) 1210 1206 /** The LX image format isn't supported by this kLdr build. */ 1211 #define KLDR_ERR_LX_NOT_SUPPORTED (KLDR_ERR_BASE + 3)1207 #define KLDR_ERR_LX_NOT_SUPPORTED (KLDR_ERR_BASE + 3) 1212 1208 /** The LE image format isn't supported by this kLdr build. */ 1213 #define KLDR_ERR_LE_NOT_SUPPORTED (KLDR_ERR_BASE + 4)1209 #define KLDR_ERR_LE_NOT_SUPPORTED (KLDR_ERR_BASE + 4) 1214 1210 /** The PE image format isn't supported by this kLdr build. */ 1215 #define KLDR_ERR_PE_NOT_SUPPORTED (KLDR_ERR_BASE + 5)1211 #define KLDR_ERR_PE_NOT_SUPPORTED (KLDR_ERR_BASE + 5) 1216 1212 /** The ELF image format isn't supported by this kLdr build. */ 1217 #define KLDR_ERR_ELF_NOT_SUPPORTED (KLDR_ERR_BASE + 6)1213 #define KLDR_ERR_ELF_NOT_SUPPORTED (KLDR_ERR_BASE + 6) 1218 1214 /** The mach-o image format isn't supported by this kLdr build. */ 1219 #define KLDR_ERR_MACHO_NOT_SUPPORTED (KLDR_ERR_BASE + 7)1215 #define KLDR_ERR_MACHO_NOT_SUPPORTED (KLDR_ERR_BASE + 7) 1220 1216 /** The FAT image format isn't supported by this kLdr build or 1221 1217 * a direct open was attempt without going thru the FAT file provider. 1222 1218 * FAT images are also known as Universal Binaries. */ 1223 #define KLDR_ERR_FAT_NOT_SUPPORTED (KLDR_ERR_BASE + 8)1219 #define KLDR_ERR_FAT_NOT_SUPPORTED (KLDR_ERR_BASE + 8) 1224 1220 /** The a.out image format isn't supported by this kLdr build. */ 1225 #define KLDR_ERR_AOUT_NOT_SUPPORTED (KLDR_ERR_BASE + 9)1221 #define KLDR_ERR_AOUT_NOT_SUPPORTED (KLDR_ERR_BASE + 9) 1226 1222 1227 1223 /** Invalid parameter to a kLdr API. */
Note:
See TracChangeset
for help on using the changeset viewer.