Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CAT/CATResult.h File Reference

CATResult.h File Reference


Detailed Description

CAT Result definitions and utilities.

Copyright (c) 2007-2008 by Michael Ellison. See COPYING.txt for the Game Accessibility Suite [GAS] License (MIT License).

Definition in file CATResult.h.

#include "CATTypes.h"

Go to the source code of this file.

Defines

#define CATFAILED(x)   ( ((x) & 0x80000000) != 0 )
 Macro, returns true if result fails.
#define CATSUCCEEDED(x)   ( ((x) & 0x80000000) == 0 )
 Macro, returns true if result succeeds.
#define CATRESULT(x)   (x)
#define CATRESULTFILE(x, filename)   (x)
#define CATRESULTFILEDESC(x, filename, desc)   (x)
#define CATRESULTDESC(x, desc)   (x)

Typedefs

typedef CATUInt32 CATResult

Enumerations

enum  {
  CAT_SUCCESS = 0,
  CAT_STATUS = 0x60008000,
  CAT_STAT_CORE_LAST = 0x60008FFF,
  CAT_STAT_APP = 0x60009000,
  CAT_STAT_APP_LAST = 0x60009FFF,
  CAT_STRING = 0x6000C000,
  CAT_STR_CORE_LAST = 0x6000CFFF,
  CAT_STR_APP = 0x6000D000,
  CAT_STR_APP_LAST = 0x6000DFFF,
  CAT_ERROR = 0xE0008000,
  CAT_ERR_CORE_LAST = 0xE0008FFF,
  CAT_ERR_APP = 0xE0009000,
  CAT_ERR_APP_LAST = 0xE0009FFF
}


Generated on Mon Feb 11 04:10:01 2008 for Game Accessibility Suite by doxygen 1.5.4