Skip to content

Commit ceb596f

Browse files
committed
[NETMSG] Add netmsg resource dll with some lmerr messages
1 parent 8787eba commit ceb596f

File tree

4 files changed

+103
-0
lines changed

4 files changed

+103
-0
lines changed

dll/win32/netmsg/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
add_library(netmsg SHARED netmsg.rc)
3+
set_module_type(netmsg module UNICODE)
4+
add_dependencies(netmsg netmsgmsg)
5+
add_cd_file(TARGET netmsg DESTINATION reactos/system32 FOR all)

dll/win32/netmsg/netmsg.rc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#define REACTOS_VERSION_DLL
2+
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Network Messages"
3+
#define REACTOS_STR_INTERNAL_NAME "netmsg"
4+
#define REACTOS_STR_ORIGINAL_FILENAME "netmsg.dll"
5+
#include <reactos/version.rc>
6+
7+
#include <netmsg_msg.rc>

sdk/include/reactos/mc/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ list(APPEND ANSI_SOURCE
55
list(APPEND UNICODE_SOURCE
66
errcodes.mc
77
neteventmsg.mc
8+
netmsgmsg.mc
89
ntiologc.mc
910
ntstatus.mc
1011
pciclass.mc)

sdk/include/reactos/mc/netmsgmsg.mc

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
;
2+
; netmsg_msg.mc MESSAGE resources for netmsg.dll
3+
;
4+
5+
MessageIdTypedef=DWORD
6+
7+
SeverityNames=(Success=0x0:STATUS_SEVERITY_SUCCESS
8+
Informational=0x1:STATUS_SEVERITY_INFORMATIONAL
9+
Warning=0x2:STATUS_SEVERITY_WARNING
10+
Error=0x3:STATUS_SEVERITY_ERROR
11+
)
12+
13+
FacilityNames=(System=0x0:FACILITY_SYSTEM
14+
)
15+
16+
LanguageNames=(English=0x409:MSG00409)
17+
18+
19+
;
20+
; lmerr message definitions
21+
;
22+
23+
MessageId=2102
24+
Severity=Success
25+
Facility=System
26+
SymbolicName=NERR_NetNotStarted
27+
Language=English
28+
The workstation driver is not installed.
29+
.
30+
31+
MessageId=2103
32+
Severity=Success
33+
Facility=System
34+
SymbolicName=NERR_UnknownServer
35+
Language=English
36+
The server could not be located.
37+
.
38+
39+
MessageId=2104
40+
Severity=Success
41+
Facility=System
42+
SymbolicName=NERR_ShareMem
43+
Language=English
44+
An internal error occurred. The network cannot access a shared memory segment.
45+
.
46+
47+
MessageId=2105
48+
Severity=Success
49+
Facility=System
50+
SymbolicName=NERR_NoNetworkResource
51+
Language=English
52+
A network resource shortage occurred.
53+
.
54+
55+
MessageId=2106
56+
Severity=Success
57+
Facility=System
58+
SymbolicName=NERR_RemoteOnly
59+
Language=English
60+
This operation is not supported on workstations.
61+
.
62+
63+
MessageId=2107
64+
Severity=Success
65+
Facility=System
66+
SymbolicName=NERR_DevNotRedirected
67+
Language=English
68+
The device is not connected.
69+
.
70+
71+
72+
;
73+
; other message definitions
74+
;
75+
76+
MessageId=3500
77+
Severity=Success
78+
Facility=System
79+
SymbolicName=OTHER_3000
80+
Language=English
81+
The command completed successfully.
82+
.
83+
84+
MessageId=3515
85+
Severity=Success
86+
Facility=System
87+
SymbolicName=OTHER_3515
88+
Language=English
89+
The command can be used only on a Domain Controller.
90+
.

0 commit comments

Comments
 (0)