Changeset 2827 for trunk/kLdr/kLdr.h


Ignore:
Timestamp:
Oct 22, 2006, 8:05:28 PM (19 years ago)
Author:
bird
Message:

image format headers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kLdr/kLdr.h

    r2826 r2827  
    282282/** @} */
    283283
     284
     285/** @defgroup grp_kLdrErr   kLdr Status Codes
     286 * kLdr uses a mix of native status codes and it's own status codes.
     287 * A status code of 0 means success, all other status codes means failure.
     288 * @{
     289 */
     290#ifdef __OS2__
     291# define KLDR_ERR_BASE          0x7face000
     292#elif defined(__WIN__)
     293# define KLDR_ERR_BASE          0x7face000
     294#else
     295# error "port me"
     296#endif
     297/** The image format is unknown. */
     298#define KLDR_ERR_UNKNOWN_FORMAT         (KLDR_ERR_BASE + 0)
     299/** The MZ image format isn't supported by this kLdr build. */
     300#define KLDR_ERR_MZ_NOT_SUPPORTED       (KLDR_ERR_BASE + 1)
     301/** The NE image format isn't supported by this kLdr build. */
     302#define KLDR_ERR_NE_NOT_SUPPORTED       (KLDR_ERR_BASE + 2)
     303/** The LX image format isn't supported by this kLdr build. */
     304#define KLDR_ERR_LX_NOT_SUPPORTED       (KLDR_ERR_BASE + 3)
     305/** The LE image format isn't supported by this kLdr build. */
     306#define KLDR_ERR_LE_NOT_SUPPORTED       (KLDR_ERR_BASE + 4)
     307/** The PE image format isn't supported by this kLdr build. */
     308#define KLDR_ERR_PE_NOT_SUPPORTED       (KLDR_ERR_BASE + 5)
     309/** The ELF image format isn't supported by this kLdr build. */
     310#define KLDR_ERR_ELF_NOT_SUPPORTED      (KLDR_ERR_BASE + 6)
     311/** The mach-o image format isn't supported by this kLdr build. */
     312#define KLDR_ERR_MACHO_NOT_SUPPORTED    (KLDR_ERR_BASE + 7)
     313/** The mach-o image format isn't supported by this kLdr build. */
     314#define KLDR_ERR_AOUT_NOT_SUPPORTED     (KLDR_ERR_BASE + 8)
     315/** The mach-o image format isn't supported by this kLdr build. */
     316#define KLDR_ERR_BAD_FIXUP              (KLDR_ERR_BASE + 32)
     317
     318/** @} */
     319
     320
    284321#ifdef __cplusplus
    285322}
Note: See TracChangeset for help on using the changeset viewer.