mb@7: // The following are message definitions. mb@7: // mb@7: // Values are 32 bit values laid out as follows: mb@7: // mb@7: // 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 mb@7: // 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 mb@7: // +---+-+-+-----------------------+-------------------------------+ mb@7: // |Sev|C|R| Facility | Code | mb@7: // +---+-+-+-----------------------+-------------------------------+ mb@7: // mb@7: // where mb@7: // mb@7: // Sev - is the severity code mb@7: // mb@7: // 00 - Success mb@7: // 01 - Informational mb@7: // 10 - Warning mb@7: // 11 - Error mb@7: // mb@7: // C - is the Customer code flag mb@7: // mb@7: // R - is a reserved bit mb@7: // mb@7: // Facility - is the facility code mb@7: // mb@7: // Code - is the facility's status code mb@7: // mb@7: // mb@7: // Define the facility codes mb@7: // mb@7: #define FACILITY_SYSTEM 0x0 mb@7: #define FACILITY_STUBS 0x3 mb@7: #define FACILITY_RUNTIME 0x2 mb@7: #define FACILITY_IO_ERROR_CODE 0x4 mb@7: mb@7: mb@7: // mb@7: // Define the severity codes mb@7: // mb@7: #define STATUS_SEVERITY_WARNING 0x2 mb@7: #define STATUS_SEVERITY_SUCCESS 0x0 mb@7: #define STATUS_SEVERITY_INFORMATIONAL 0x1 mb@7: #define STATUS_SEVERITY_ERROR 0x3 mb@7: mb@7: mb@7: // mb@7: // MessageId: SVC_ERROR mb@7: // mb@7: // MessageText: mb@7: // mb@10: // %2. mb@7: // mb@7: #define SVC_ERROR ((DWORD)0xC0020001L) mb@7: mb@7: // A message file must end with a period on its own line mb@7: // followed by a blank line.