| 1 | // Message source file, to be compiled to a resource file with |
|---|
| 2 | // Microsoft Message Compiler (MC), to an object file with a Resource |
|---|
| 3 | // Compiler, and linked into the application. |
|---|
| 4 | |
|---|
| 5 | // The main reason for this file is to work around Windows' stupid |
|---|
| 6 | // messages in the Event Log, which say: |
|---|
| 7 | |
|---|
| 8 | // The description for Event ID ( 4 ) in Source ( Box Backup (bbackupd) ) |
|---|
| 9 | // cannot be found. The local computer may not have the necessary |
|---|
| 10 | // registry information or message DLL files to display messages from a |
|---|
| 11 | // remote computer. The following information is part of the event: |
|---|
| 12 | // Message definitions follow |
|---|
| 13 | // |
|---|
| 14 | // Values are 32 bit values layed out as follows: |
|---|
| 15 | // |
|---|
| 16 | // 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 |
|---|
| 17 | // 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 |
|---|
| 18 | // +---+-+-+-----------------------+-------------------------------+ |
|---|
| 19 | // |Sev|C|R| Facility | Code | |
|---|
| 20 | // +---+-+-+-----------------------+-------------------------------+ |
|---|
| 21 | // |
|---|
| 22 | // where |
|---|
| 23 | // |
|---|
| 24 | // Sev - is the severity code |
|---|
| 25 | // |
|---|
| 26 | // 00 - Success |
|---|
| 27 | // 01 - Informational |
|---|
| 28 | // 10 - Warning |
|---|
| 29 | // 11 - Error |
|---|
| 30 | // |
|---|
| 31 | // C - is the Customer code flag |
|---|
| 32 | // |
|---|
| 33 | // R - is a reserved bit |
|---|
| 34 | // |
|---|
| 35 | // Facility - is the facility code |
|---|
| 36 | // |
|---|
| 37 | // Code - is the facility's status code |
|---|
| 38 | // |
|---|
| 39 | // |
|---|
| 40 | // Define the facility codes |
|---|
| 41 | // |
|---|
| 42 | |
|---|
| 43 | |
|---|
| 44 | // |
|---|
| 45 | // Define the severity codes |
|---|
| 46 | // |
|---|
| 47 | |
|---|
| 48 | |
|---|
| 49 | // |
|---|
| 50 | // MessageId: MSG_ERR |
|---|
| 51 | // |
|---|
| 52 | // MessageText: |
|---|
| 53 | // |
|---|
| 54 | // %1 |
|---|
| 55 | // |
|---|
| 56 | #define MSG_ERR ((DWORD)0x40000001L) |
|---|
| 57 | |
|---|