//
//  Copyright (c) 2001, Reson, Inc. All Rights Reserved.
//
//  Filename:   ErrorMsg.mc
//
//  Project:    6046.
//
//  Author(s)   W. Arcus
//
//  Purpose:    Defines the MS Message Compiler (MC) script for error
//              source independent error codes.
//
//  Notes:
//
//
// Supports only English, for now.
//LanguageNames=(English=0x0009:MSG00001)
//
//  Values are 32 bit values layed out as follows:
//
//   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
//   1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
//  +---+-+-+-----------------------+-------------------------------+
//  |Sev|C|R|     Facility          |               Code            |
//  +---+-+-+-----------------------+-------------------------------+
//
//  where
//
//      Sev - is the severity code
//
//          00 - Success
//          01 - Informational
//          10 - Warning
//          11 - Error
//
//      C - is the Customer code flag
//
//      R - is a reserved bit
//
//      Facility - is the facility code
//
//      Code - is the facility's status code
//
//
// Define the facility codes
//


//
// Define the severity codes
//
#define STATUS_SEVERITY_WARNING          0x2
#define STATUS_SEVERITY_SUCCESS          0x0
#define STATUS_SEVERITY_INFORMATIONAL    0x1
#define STATUS_SEVERITY_ERROR            0x3


//
// MessageId: MSG_FILESPECERROR
//
// MessageText:
//
//  Error on file specification %1!s!: %2!s!
//
#define MSG_FILESPECERROR                0x80000001L

//
// MessageId: MSG_CANTCOMMITMEMORY
//
// MessageText:
//
//  Unable to commit memory
//
#define MSG_CANTCOMMITMEMORY             0xC0000002L

//
// MessageId: MSG_CANTALLOCATE_MEMORY
//
// MessageText:
//
//  Unable to allocate memory
//
#define MSG_CANTALLOCATE_MEMORY          0xC0000003L

//
// MessageId: MSG_SERVER_FAILED
//
// MessageText:
//
//  %1!s! failed. %2!s!
//
#define MSG_SERVER_FAILED                0xC0000004L

