blob: 3aad1abadd67bfeaea7f0690c02c798223aecd38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
;// messages file for wolf messages
;// language codes for translated messages
;// (409 ist the windows locale for en-US)
LanguageNames = (
English = 0x409 : MSG00409
)
;// Category names come first, the 'CategoryCount' registry entry
;// for the event source must match the number of entries here.
;// Also the numbering must be strictly starting by one and increase
;// by one. Careful: categories MUST be defined here, the message
;// compiler is a little bit flag and context infected. Also make
;// sure they are not longer than 10 characters, the event viewer
;// field is quite small.
MessageId = 0x1
SymbolicName = WOLF_CATEGORY_1
Language = English
Category 1
.
MessageId = 0x2
SymbolicName = WOLF_CATEGORY_2
Language = English
Category 2
.
;// event log severity levels (severity bits)
SeverityNames = (
Success = 0x0 : STATUS_SEVERITY_SUCCESS
Informational = 0x1 : STATUS_SEVERITY_INFORMATIONAL
Warning = 0x2 : STATUS_SEVERITY_WARNING
Error = 0x3 : STATUS_SEVERITY_ERROR
)
;// facility names
FacilityNames = (
System = 0x0FF
Application = 0xFFF
)
;// event messages from here
MessageIdTypedef = DWORD
MessageId = 0x100
Severity = Error
Facility = Application
SymbolicName = WOLF_TEST_NO_PARAMS
Language = English
This is a test message without any parameters
It can be two lines though
.
MessageId = 0x101
Severity = Error
Facility = Application
SymbolicName = WOLF_TEST_PARAMS
Language = English
This is a message with parameter %1 and parameter %2
.
|