Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | daniel-mar | 1 | // ***** ViaThinkSoftSimpleMessage.mc ***** |
2 | // This is the header section. |
||
3 | // The following are message definitions. |
||
4 | // |
||
5 | // Values are 32 bit values laid out as follows: |
||
6 | // |
||
7 | // 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 |
||
8 | // 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 |
||
9 | // +---+-+-+-----------------------+-------------------------------+ |
||
10 | // |Sev|C|R| Facility | Code | |
||
11 | // +---+-+-+-----------------------+-------------------------------+ |
||
12 | // |
||
13 | // where |
||
14 | // |
||
15 | // Sev - is the severity code |
||
16 | // |
||
17 | // 00 - Success |
||
18 | // 01 - Informational |
||
19 | // 10 - Warning |
||
20 | // 11 - Error |
||
21 | // |
||
22 | // C - is the Customer code flag |
||
23 | // |
||
24 | // R - is a reserved bit |
||
25 | // |
||
26 | // Facility - is the facility code |
||
27 | // |
||
28 | // Code - is the facility's status code |
||
29 | // |
||
30 | // |
||
31 | // Define the facility codes |
||
32 | // |
||
33 | |||
34 | |||
35 | // |
||
36 | // Define the severity codes |
||
37 | // |
||
38 | #define STATUS_SEVERITY_SUCCESS 0x0 |
||
39 | #define STATUS_SEVERITY_INFORMATIONAL 0x1 |
||
40 | #define STATUS_SEVERITY_WARNING 0x2 |
||
41 | #define STATUS_SEVERITY_ERROR 0x3 |
||
42 | |||
43 | |||
44 | // |
||
45 | // MessageId: MSG_SUCCESS |
||
46 | // |
||
47 | // MessageText: |
||
48 | // |
||
49 | // Success: %1 |
||
50 | // |
||
51 | #define MSG_SUCCESS ((DWORD)0x20000000L) |
||
52 | |||
53 | // |
||
54 | // MessageId: MSG_INFORMATIONAL |
||
55 | // |
||
56 | // MessageText: |
||
57 | // |
||
58 | // Info: %1 |
||
59 | // |
||
60 | #define MSG_INFORMATIONAL ((DWORD)0x60000001L) |
||
61 | |||
62 | // |
||
63 | // MessageId: MSG_WARNING |
||
64 | // |
||
65 | // MessageText: |
||
66 | // |
||
67 | // Warning: %1 |
||
68 | // |
||
69 | #define MSG_WARNING ((DWORD)0xA0000002L) |
||
70 | |||
71 | // |
||
72 | // MessageId: MSG_ERROR |
||
73 | // |
||
74 | // MessageText: |
||
75 | // |
||
76 | // Error: %1 |
||
77 | // |
||
78 | #define MSG_ERROR ((DWORD)0xE0000003L) |
||
79 |