forked from Travis-Sun/pywin32
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyISAPI_messages.mc
More file actions
83 lines (78 loc) · 2.4 KB
/
Copy pathpyISAPI_messages.mc
File metadata and controls
83 lines (78 loc) · 2.4 KB
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
; /*
MessageIdTypedef=DWORD
;-------------------------------------------------------------------------
; MESSAGE DEFINITION SECTION
;
; Following the header section is the body of the Message Compiler
; source file. The body consists of zero or more message definitions.
; Each message definition begins with one or more of the following
; statements:
;
; MessageId = [number|+number]
; Severity = severity_name
; Facility = facility_name
; SymbolicName = name
;
; The MessageId statement marks the beginning of the message
; definition. A MessageID statement is required for each message,
; although the value is optional. If no value is specified, the value
; used is the previous value for the facility plus one. If the value
; is specified as +number then the value used is the previous value
; for the facility, plus the number after the plus sign. Otherwise, if
; a numeric value is given, that value is used. Any MessageId value
; that does not fit in 16 bits is an error.
;
; The Severity and Facility statements are optional. These statements
; specify additional bits to OR into the final 32-bit message code. If
; not specified they default to the value last specified for a message
; definition. The initial values prior to processing the first message
; definition are:
;
; Severity=Success
; Facility=Application
;
; The value associated with Severity and Facility must match one of
; the names given in the FacilityNames and SeverityNames statements in
; the header section. The SymbolicName statement allows you to
; associate a C/C++ symbolic constant with the final 32-bit message
; code.
; */
; // For the sake of keeping common message-IDs with the pywin32 service
; // modules etc, we keep these generic messages
MessageId=0xFF
Severity=Error
SymbolicName=PYS_E_GENERIC_ERROR
Language=English
%1
.
MessageId=0xFF
Severity=Warning
SymbolicName=PYS_E_GENERIC_WARNING
Language=English
%1
.
MessageId=0x1000
Severity=Error
SymbolicName=E_PYISAPI_FILTER_FAILED
Language=English
The pyISAPI filter encountered an error.
%n%1
%nThe last windows error was: %2
.
MessageId=0x1001
Severity=Error
SymbolicName=E_PYISAPI_EXTENSION_FAILED
Language=English
The pyISAPI extension encountered an error.
%n%1
%nThe last windows error was: %2
.
; // A nod to py2exe or similar tools
MessageId=0x1100
Severity=Error
SymbolicName=E_PYISAPI_STARTUP_FAILED
Language=English
The pyISAPI extension failed to initialize.
%n%1
%nThe last windows error was: %2
.