summaryrefslogtreecommitdiff
path: root/tests/service/testservicemsg.mc
blob: cb0230fd4cd0efe0aedf416103d20a8e8575eb72 (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
;// messages file for wolf messages

;// language codes for translated messages
;// (409 ist the windows locale for en-US)
;// (see http://msdn.microsoft.com/en-us/library/ms776260.aspx)
LanguageNames = (
	English		= 0x0409	: MSG00409
;	German		= 0x0407	: MSG00407
)

;// 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_LOGGER
Language = English
Logger
.
;Language = German
;Logger
;.

MessageId = 0x2
SymbolicName = WOLF_CATEGORY_DAEMON
Language = English
Daemon
.
;Language = German
;Unix-Prozess
;.

MessageId = 0x3
SymbolicName = WOLF_CATEGORY_SERVICE
Language = English
test service
;Language = German
;Service
.

MessageId = 0x4
SymbolicName = WOLF_CATEGORY_TESTSERVICE
Language = English
test service
.


;// 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
)

;// we get a already defined message? but where is Application defined?
;// facility names
FacilityNames = (
	System		= 0x0FF
	Application	= 0xFFF
)


;// event messages from here

MessageIdTypedef = DWORD

MessageId = 4001
Severity = Error
Facility = Application
SymbolicName = WOLF_MSG_TESTSERVICE_CANT_DISPATCH_SERVICE
Language = English
Unable to dispatch service '%1': %2 (%3)
.