1 // The following are message definitions.
3 // Values are 32 bit values laid out as follows:
5 // 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
6 // 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
7 // +---+-+-+-----------------------+-------------------------------+
8 // |Sev|C|R| Facility | Code |
9 // +---+-+-+-----------------------+-------------------------------+
13 // Sev - is the severity code
20 // C - is the Customer code flag
22 // R - is a reserved bit
24 // Facility - is the facility code
26 // Code - is the facility's status code
29 // Define the facility codes
31 #define FACILITY_SYSTEM 0x0
32 #define FACILITY_STUBS 0x3
33 #define FACILITY_RUNTIME 0x2
34 #define FACILITY_IO_ERROR_CODE 0x4
38 // Define the severity codes
40 #define STATUS_SEVERITY_WARNING 0x2
41 #define STATUS_SEVERITY_SUCCESS 0x0
42 #define STATUS_SEVERITY_INFORMATIONAL 0x1
43 #define STATUS_SEVERITY_ERROR 0x3
47 // MessageId: SVC_ERROR
51 // An error has occurred (%2).
53 #define SVC_ERROR ((DWORD)0xC0020001L)
55 // A message file must end with a period on its own line
56 // followed by a blank line.