summaryrefslogtreecommitdiff
path: root/tests/service/testservicemsg.mc
blob: 86b4ccf9f83e002485bcf2b1428b9aead6496b8f (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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
;// 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
Dameon
.
;Language = German
;Unix-Prozess
;.

MessageId = 0x3
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 = 3002
Severity = Informational
Facility = Application
SymbolicName = WOLF_MSG_TESTSERVICE_INSTALLING_SERVICE
Language = English
Installing service '%1'
.
MessageId = 3001
Severity = Error
Facility = Application
SymbolicName = WOLF_MSG_TESTSERVICE_CANT_OPEN_SCM_FOR_INSTALL
Language = English
Unable to open the service control manager to register service '%1': %2 (%3)
.
MessageId = 3003
Severity = Error
Facility = Application
SymbolicName = WOLF_MSG_TESTSERVICE_CANT_GET_PATH_OF_BINARY
Language = English
Unable to get full path of the binary of service '%1': %2 (%3)
.
MessageId = 3004
Severity = Error
Facility = Application
SymbolicName = WOLF_MSG_TESTSERVICE_CANT_CREATE_SERVICE
Language = English
Unable to create service '%1': %2 (%3)
.
MessageId = 3005
Severity = Informational
Facility = Application
SymbolicName = WOLF_MSG_TESTSERVICE_SERVICE_INSTALLED
Language = English
Service '%1' installed successfully
.
MessageId = 3006
Severity = Informational
Facility = Application
SymbolicName = WOLF_MSG_TESTSERVICE_UNINSTALLING_SERVICE
Language = English
Unistalling service '%1'
.
MessageId = 3008
Severity = Error
Facility = Application
SymbolicName = WOLF_MSG_TESTSERVICE_CANT_OPEN_SCM_FOR_UNINSTALL
Language = English
Unable to open the service control manager to uninstall '%1': %2 (%3)
.
MessageId = 3009
Severity = Error
Facility = Application
SymbolicName = WOLF_MSG_TESTSERVICE_CANT_OPEN_SERVICE
Language = English
Unable to open service '%1': %2 (%3)
.
MessageId = 3010
Severity = Error
Facility = Application
SymbolicName = WOLF_MSG_TESTSERVICE_CANT_DELETE_SERVICE
Language = English
Unable to uninstall service '%1': %2 (%3)
.
MessageId = 3007
Severity = Informational
Facility = Application
SymbolicName = WOLF_MSG_TESTSERVICE_SERVICE_UNINSTALLED
Language = English
Service '%1' uninstalled successfully
.
MessageId = 3019
Severity = Informational
Facility = Application
SymbolicName = WOLF_MSG_TESTSERVICE_REPORT_STATUS
Language = English
reporting status with new state %1 (currently in state %2)
.
MessageId = 3017
Severity = Error
Facility = Application
SymbolicName = WOLF_MSG_TESTSERVICE_CANT_REPORT_STATUS
Language = English
Unable to report state %1 of service '%2' to SCM '%3 (%4)
.
MessageId = 3013
Severity = Informational
Facility = Application
SymbolicName = WOLF_MSG_TESTSERVICE_HANDLING_EVENT
Language = English
service handler received event %1
.
MessageId = 3012
Severity = Error
Facility = Application
SymbolicName = WOLF_MSG_TESTSERVICE_CANT_REGISTER_SERVICE_CTRL_HANDLER
Language = English
Unable to register service control handler function for service '%1': %2 (%3)
.
MessageId = 3016
Severity = Error
Facility = Application
SymbolicName = WOLF_MSG_TESTSERVICE_CANT_CREATE_STOP_EVENT
Language = English
Unable to create the stop event for service '%1': %2 (%3)
.
MessageId = 3014
Severity = Informational
Facility = Application
SymbolicName = WOLF_MSG_TESTSERVICE_STARTED_SERVICE
Language = English
Started %1 service
.
MessageId = 3018
Severity = Error
Facility = Application
SymbolicName = WOLF_MSG_TESTSERVICE_WAIT_FOR_OBJECT_FAILED
Language = English
Waiting for the stop event for service '%1' failed: %2 (%3)
.
MessageId = 3015
Severity = Informational
Facility = Application
SymbolicName = WOLF_MSG_TESTSERVICE_STOPPED_SERVICE
Language = English
Stopped %1 service
.
MessageId = 3011
Severity = Error
Facility = Application
SymbolicName = WOLF_MSG_TESTSERVICE_CANT_DISPATCH_SERVICE
Language = English
Unable to dispatch service '%1': %2 (%3)
.