/trunk/MessageTable/EventlogMessages.h |
---|
0,0 → 1,79 |
// ***** ViaThinkSoftSimpleMessage.mc ***** |
// This is the header section. |
// The following are message definitions. |
// |
// Values are 32 bit values laid 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_SUCCESS 0x0 |
#define STATUS_SEVERITY_INFORMATIONAL 0x1 |
#define STATUS_SEVERITY_WARNING 0x2 |
#define STATUS_SEVERITY_ERROR 0x3 |
// |
// MessageId: MSG_SUCCESS |
// |
// MessageText: |
// |
// Success: %1 |
// |
#define MSG_SUCCESS ((DWORD)0x20000000L) |
// |
// MessageId: MSG_INFORMATIONAL |
// |
// MessageText: |
// |
// Info: %1 |
// |
#define MSG_INFORMATIONAL ((DWORD)0x60000001L) |
// |
// MessageId: MSG_WARNING |
// |
// MessageText: |
// |
// Warning: %1 |
// |
#define MSG_WARNING ((DWORD)0xA0000002L) |
// |
// MessageId: MSG_ERROR |
// |
// MessageText: |
// |
// Error: %1 |
// |
#define MSG_ERROR ((DWORD)0xE0000003L) |
/trunk/MessageTable/EventlogMessages.mc |
---|
0,0 → 1,78 |
; // ***** ViaThinkSoftSimpleMessage.mc ***** |
; // This is the header section. |
MessageIdTypedef=DWORD |
SeverityNames=(Success=0x0:STATUS_SEVERITY_SUCCESS |
Informational=0x1:STATUS_SEVERITY_INFORMATIONAL |
Warning=0x2:STATUS_SEVERITY_WARNING |
Error=0x3:STATUS_SEVERITY_ERROR |
) |
FacilityNames=( |
SimpleMessage=0x0 |
) |
LanguageNames=( |
Neutral=0x0:MSG00000 |
German=0x407:MSG00407 |
English=0x409:MSG00409 |
) |
; // The following are message definitions. |
MessageId=0x0 |
Severity=Success |
Facility=SimpleMessage |
SymbolicName=MSG_SUCCESS |
Language=English |
Success: %1 |
. |
Language=German |
Erfolg: %1 |
. |
Language=Neutral |
[OK] %1 |
. |
MessageId=0x1 |
Severity=Informational |
Facility=SimpleMessage |
SymbolicName=MSG_INFORMATIONAL |
Language=English |
Info: %1 |
. |
Language=German |
Info: %1 |
. |
Language=Neutral |
[i] %1 |
. |
MessageId=0x2 |
Severity=Warning |
Facility=SimpleMessage |
SymbolicName=MSG_WARNING |
Language=English |
Warning: %1 |
. |
Language=German |
Warnung: %1 |
. |
Language=Neutral |
[!] %1 |
. |
MessageId=0x3 |
Severity=Error |
Facility=SimpleMessage |
SymbolicName=MSG_ERROR |
Language=English |
Error: %1 |
. |
Language=German |
Fehler: %1 |
. |
Language=Neutral |
[X] %1 |
. |
/trunk/MessageTable/EventlogMessages.rc |
---|
0,0 → 1,6 |
LANGUAGE 0x9,0x1 |
1 11 "MSG00409.bin" |
LANGUAGE 0x0,0x0 |
1 11 "MSG00000.bin" |
LANGUAGE 0x7,0x1 |
1 11 "MSG00407.bin" |
/trunk/MessageTable/EventlogMessages.res |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/MessageTable/EventlogMessagesCompile.bat |
---|
0,0 → 1,17 |
@echo on |
del EventlogMessages.rc |
del EventlogMessages.res |
del MSG*.bin |
rem MC => RC+BIN |
"C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64\mc.exe" -c EventlogMessages.mc |
rem "C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64\mc.exe" EventlogMessages.mc |
rem RC => RES |
"C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64\rc.exe" EventlogMessages.rc |
rem RES => DLL |
rem "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.22.27905\bin\Hostx64\x64\link.exe" /dll /noentry /machine:x86 EventlogMessages.res |
pause. |
/trunk/MessageTable/MSG00000.bin |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/MessageTable/MSG00407.bin |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |
/trunk/MessageTable/MSG00409.bin |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |