|
|
Home | Loader API | Interfaces | File List | Index | |
Standard error codes. More...
#include "p6types.h"
Go to the source code of this file.
Defines | |
#define | P6ERR_CODE(err) ((err) & 0xffff) |
#define | P6ERR_FACILITY(err) (((err) >> 16 ) & 0x7fff) |
#define | P6ERR_STATUS(err) (((err) >> 31) & 0x1) |
#define | P6ERR_STATUS_FAILURE 1 |
#define | P6ERR_STATUS_SUCCESS 0 |
#define | P6FAILED(err) (P6ERR_STATUS_FAILURE == P6ERR_STATUS((err))) |
#define | P6MAKEERR(s, f, c) ((P6ERR)(((P6UINT32)(s)<<31)|((P6UINT32)(f)<<16)|((P6UINT32)(c)))) |
#define | P6SUCCEEDED(err) (P6ERR_STATUS_SUCCESS == P6ERR_STATUS((err))) |
Enumerations | |
enum | ERR_FACILITY { P6R::P6EF_GENERAL = 0x0, P6R::P6EF_NETWORK = 0x1, P6R::P6EF_COM = 0x2, P6R::P6EF_DCOM = 0x3, P6R::P6EF_MINUSER = 0x2000, P6R::P6EF_MAX = 0x7fff } |
Defines the valid facilities possible for P6ERR's. More... |
Standard error codes.
Definition in file p6err.h.