Skip to content

Commit b88ce36

Browse files
committed
Add somme Evt-related define/structs/functions
1 parent 4564be8 commit b88ce36

9 files changed

Lines changed: 4417 additions & 2178 deletions

File tree

ctypes_generation/definitions/defines/windef_evtlog.txt

Lines changed: 351 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,354 @@
99
#define EVENTLOG_SEQUENTIAL_READ 0x0001
1010
#define EVENTLOG_SEEK_READ 0x0002
1111
#define EVENTLOG_FORWARDS_READ 0x0004
12-
#define EVENTLOG_BACKWARDS_READ 0x0008
12+
#define EVENTLOG_BACKWARDS_READ 0x0008
13+
14+
15+
///////////////////////////////////////////////////
16+
// //
17+
// Start of WinEvt Error codes //
18+
// //
19+
// 15000 to 15079 //
20+
///////////////////////////////////////////////////
21+
22+
//
23+
// MessageId: ERROR_EVT_INVALID_CHANNEL_PATH
24+
//
25+
// MessageText:
26+
//
27+
// The specified channel path is invalid.
28+
//
29+
#define ERROR_EVT_INVALID_CHANNEL_PATH 15000L
30+
31+
//
32+
// MessageId: ERROR_EVT_INVALID_QUERY
33+
//
34+
// MessageText:
35+
//
36+
// The specified query is invalid.
37+
//
38+
#define ERROR_EVT_INVALID_QUERY 15001L
39+
40+
//
41+
// MessageId: ERROR_EVT_PUBLISHER_METADATA_NOT_FOUND
42+
//
43+
// MessageText:
44+
//
45+
// The publisher metadata cannot be found in the resource.
46+
//
47+
#define ERROR_EVT_PUBLISHER_METADATA_NOT_FOUND 15002L
48+
49+
//
50+
// MessageId: ERROR_EVT_EVENT_TEMPLATE_NOT_FOUND
51+
//
52+
// MessageText:
53+
//
54+
// The template for an event definition cannot be found in the resource (error = %1).
55+
//
56+
#define ERROR_EVT_EVENT_TEMPLATE_NOT_FOUND 15003L
57+
58+
//
59+
// MessageId: ERROR_EVT_INVALID_PUBLISHER_NAME
60+
//
61+
// MessageText:
62+
//
63+
// The specified publisher name is invalid.
64+
//
65+
#define ERROR_EVT_INVALID_PUBLISHER_NAME 15004L
66+
67+
//
68+
// MessageId: ERROR_EVT_INVALID_EVENT_DATA
69+
//
70+
// MessageText:
71+
//
72+
// The event data raised by the publisher is not compatible with the event template definition in the publisher's manifest
73+
//
74+
#define ERROR_EVT_INVALID_EVENT_DATA 15005L
75+
76+
//
77+
// MessageId: ERROR_EVT_CHANNEL_NOT_FOUND
78+
//
79+
// MessageText:
80+
//
81+
// The specified channel could not be found. Check channel configuration.
82+
//
83+
#define ERROR_EVT_CHANNEL_NOT_FOUND 15007L
84+
85+
//
86+
// MessageId: ERROR_EVT_MALFORMED_XML_TEXT
87+
//
88+
// MessageText:
89+
//
90+
// The specified xml text was not well-formed. See Extended Error for more details.
91+
//
92+
#define ERROR_EVT_MALFORMED_XML_TEXT 15008L
93+
94+
//
95+
// MessageId: ERROR_EVT_SUBSCRIPTION_TO_DIRECT_CHANNEL
96+
//
97+
// MessageText:
98+
//
99+
// The caller is trying to subscribe to a direct channel which is not allowed. The events for a direct channel go directly to a logfile and cannot be subscribed to.
100+
//
101+
#define ERROR_EVT_SUBSCRIPTION_TO_DIRECT_CHANNEL 15009L
102+
103+
//
104+
// MessageId: ERROR_EVT_CONFIGURATION_ERROR
105+
//
106+
// MessageText:
107+
//
108+
// Configuration error.
109+
//
110+
#define ERROR_EVT_CONFIGURATION_ERROR 15010L
111+
112+
//
113+
// MessageId: ERROR_EVT_QUERY_RESULT_STALE
114+
//
115+
// MessageText:
116+
//
117+
// The query result is stale / invalid. This may be due to the log being cleared or rolling over after the query result was created. Users should handle this code by releasing the query result object and reissuing the query.
118+
//
119+
#define ERROR_EVT_QUERY_RESULT_STALE 15011L
120+
121+
//
122+
// MessageId: ERROR_EVT_QUERY_RESULT_INVALID_POSITION
123+
//
124+
// MessageText:
125+
//
126+
// Query result is currently at an invalid position.
127+
//
128+
#define ERROR_EVT_QUERY_RESULT_INVALID_POSITION 15012L
129+
130+
//
131+
// MessageId: ERROR_EVT_NON_VALIDATING_MSXML
132+
//
133+
// MessageText:
134+
//
135+
// Registered MSXML doesn't support validation.
136+
//
137+
#define ERROR_EVT_NON_VALIDATING_MSXML 15013L
138+
139+
//
140+
// MessageId: ERROR_EVT_FILTER_ALREADYSCOPED
141+
//
142+
// MessageText:
143+
//
144+
// An expression can only be followed by a change of scope operation if it itself evaluates to a node set and is not already part of some other change of scope operation.
145+
//
146+
#define ERROR_EVT_FILTER_ALREADYSCOPED 15014L
147+
148+
//
149+
// MessageId: ERROR_EVT_FILTER_NOTELTSET
150+
//
151+
// MessageText:
152+
//
153+
// Can't perform a step operation from a term that does not represent an element set.
154+
//
155+
#define ERROR_EVT_FILTER_NOTELTSET 15015L
156+
157+
//
158+
// MessageId: ERROR_EVT_FILTER_INVARG
159+
//
160+
// MessageText:
161+
//
162+
// Left hand side arguments to binary operators must be either attributes, nodes or variables and right hand side arguments must be constants.
163+
//
164+
#define ERROR_EVT_FILTER_INVARG 15016L
165+
166+
//
167+
// MessageId: ERROR_EVT_FILTER_INVTEST
168+
//
169+
// MessageText:
170+
//
171+
// A step operation must involve either a node test or, in the case of a predicate, an algebraic expression against which to test each node in the node set identified by the preceeding node set can be evaluated.
172+
//
173+
#define ERROR_EVT_FILTER_INVTEST 15017L
174+
175+
//
176+
// MessageId: ERROR_EVT_FILTER_INVTYPE
177+
//
178+
// MessageText:
179+
//
180+
// This data type is currently unsupported.
181+
//
182+
#define ERROR_EVT_FILTER_INVTYPE 15018L
183+
184+
//
185+
// MessageId: ERROR_EVT_FILTER_PARSEERR
186+
//
187+
// MessageText:
188+
//
189+
// A syntax error occurred at position %1!d!
190+
//
191+
#define ERROR_EVT_FILTER_PARSEERR 15019L
192+
193+
//
194+
// MessageId: ERROR_EVT_FILTER_UNSUPPORTEDOP
195+
//
196+
// MessageText:
197+
//
198+
// This operator is unsupported by this implementation of the filter.
199+
//
200+
#define ERROR_EVT_FILTER_UNSUPPORTEDOP 15020L
201+
202+
//
203+
// MessageId: ERROR_EVT_FILTER_UNEXPECTEDTOKEN
204+
//
205+
// MessageText:
206+
//
207+
// The token encountered was unexpected.
208+
//
209+
#define ERROR_EVT_FILTER_UNEXPECTEDTOKEN 15021L
210+
211+
//
212+
// MessageId: ERROR_EVT_INVALID_OPERATION_OVER_ENABLED_DIRECT_CHANNEL
213+
//
214+
// MessageText:
215+
//
216+
// The requested operation cannot be performed over an enabled direct channel. The channel must first be disabled before performing the requested operation.
217+
//
218+
#define ERROR_EVT_INVALID_OPERATION_OVER_ENABLED_DIRECT_CHANNEL 15022L
219+
220+
//
221+
// MessageId: ERROR_EVT_INVALID_CHANNEL_PROPERTY_VALUE
222+
//
223+
// MessageText:
224+
//
225+
// Channel property %1!s! contains invalid value. The value has invalid type, is outside of valid range, can't be updated or is not supported by this type of channel.
226+
//
227+
#define ERROR_EVT_INVALID_CHANNEL_PROPERTY_VALUE 15023L
228+
229+
//
230+
// MessageId: ERROR_EVT_INVALID_PUBLISHER_PROPERTY_VALUE
231+
//
232+
// MessageText:
233+
//
234+
// Publisher property %1!s! contains invalid value. The value has invalid type, is outside of valid range, can't be updated or is not supported by this type of publisher.
235+
//
236+
#define ERROR_EVT_INVALID_PUBLISHER_PROPERTY_VALUE 15024L
237+
238+
//
239+
// MessageId: ERROR_EVT_CHANNEL_CANNOT_ACTIVATE
240+
//
241+
// MessageText:
242+
//
243+
// The channel fails to activate.
244+
//
245+
#define ERROR_EVT_CHANNEL_CANNOT_ACTIVATE 15025L
246+
247+
//
248+
// MessageId: ERROR_EVT_FILTER_TOO_COMPLEX
249+
//
250+
// MessageText:
251+
//
252+
// The xpath expression exceeded supported complexity. Please symplify it or split it into two or more simple expressions.
253+
//
254+
#define ERROR_EVT_FILTER_TOO_COMPLEX 15026L
255+
256+
//
257+
// MessageId: ERROR_EVT_MESSAGE_NOT_FOUND
258+
//
259+
// MessageText:
260+
//
261+
// the message resource is present but the message is not found in the string/message table
262+
//
263+
#define ERROR_EVT_MESSAGE_NOT_FOUND 15027L
264+
265+
//
266+
// MessageId: ERROR_EVT_MESSAGE_ID_NOT_FOUND
267+
//
268+
// MessageText:
269+
//
270+
// The message id for the desired message could not be found.
271+
//
272+
#define ERROR_EVT_MESSAGE_ID_NOT_FOUND 15028L
273+
274+
//
275+
// MessageId: ERROR_EVT_UNRESOLVED_VALUE_INSERT
276+
//
277+
// MessageText:
278+
//
279+
// The substitution string for insert index (%1) could not be found.
280+
//
281+
#define ERROR_EVT_UNRESOLVED_VALUE_INSERT 15029L
282+
283+
//
284+
// MessageId: ERROR_EVT_UNRESOLVED_PARAMETER_INSERT
285+
//
286+
// MessageText:
287+
//
288+
// The description string for parameter reference (%1) could not be found.
289+
//
290+
#define ERROR_EVT_UNRESOLVED_PARAMETER_INSERT 15030L
291+
292+
//
293+
// MessageId: ERROR_EVT_MAX_INSERTS_REACHED
294+
//
295+
// MessageText:
296+
//
297+
// The maximum number of replacements has been reached.
298+
//
299+
#define ERROR_EVT_MAX_INSERTS_REACHED 15031L
300+
301+
//
302+
// MessageId: ERROR_EVT_EVENT_DEFINITION_NOT_FOUND
303+
//
304+
// MessageText:
305+
//
306+
// The event definition could not be found for event id (%1).
307+
//
308+
#define ERROR_EVT_EVENT_DEFINITION_NOT_FOUND 15032L
309+
310+
//
311+
// MessageId: ERROR_EVT_MESSAGE_LOCALE_NOT_FOUND
312+
//
313+
// MessageText:
314+
//
315+
// The locale specific resource for the desired message is not present.
316+
//
317+
#define ERROR_EVT_MESSAGE_LOCALE_NOT_FOUND 15033L
318+
319+
//
320+
// MessageId: ERROR_EVT_VERSION_TOO_OLD
321+
//
322+
// MessageText:
323+
//
324+
// The resource is too old to be compatible.
325+
//
326+
#define ERROR_EVT_VERSION_TOO_OLD 15034L
327+
328+
//
329+
// MessageId: ERROR_EVT_VERSION_TOO_NEW
330+
//
331+
// MessageText:
332+
//
333+
// The resource is too new to be compatible.
334+
//
335+
#define ERROR_EVT_VERSION_TOO_NEW 15035L
336+
337+
//
338+
// MessageId: ERROR_EVT_CANNOT_OPEN_CHANNEL_OF_QUERY
339+
//
340+
// MessageText:
341+
//
342+
// The channel at index %1!d! of the query can't be opened.
343+
//
344+
#define ERROR_EVT_CANNOT_OPEN_CHANNEL_OF_QUERY 15036L
345+
346+
//
347+
// MessageId: ERROR_EVT_PUBLISHER_DISABLED
348+
//
349+
// MessageText:
350+
//
351+
// The publisher has been disabled and its resource is not avaiable. This usually occurs when the publisher is in the process of being uninstalled or upgraded.
352+
//
353+
#define ERROR_EVT_PUBLISHER_DISABLED 15037L
354+
355+
//
356+
// MessageId: ERROR_EVT_FILTER_OUT_OF_RANGE
357+
//
358+
// MessageText:
359+
//
360+
// Attempted to create a numeric type that is outside of its valid range.
361+
//
362+
#define ERROR_EVT_FILTER_OUT_OF_RANGE 15038L

0 commit comments

Comments
 (0)