https://git.reactos.org/?p=reactos.git;a=commitdiff;h=ceb596f100bf6faebc947…
commit ceb596f100bf6faebc947f71cc9d9b50d715db8c
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sat Apr 14 18:31:14 2018 +0200
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sat Apr 14 18:56:09 2018 +0200
[NETMSG] Add netmsg resource dll with some lmerr messages
---
dll/win32/netmsg/CMakeLists.txt | 5 ++
dll/win32/netmsg/netmsg.rc | 7 +++
sdk/include/reactos/mc/CMakeLists.txt | 1 +
sdk/include/reactos/mc/netmsgmsg.mc | 90 +++++++++++++++++++++++++++++++++++
4 files changed, 103 insertions(+)
diff --git a/dll/win32/netmsg/CMakeLists.txt b/dll/win32/netmsg/CMakeLists.txt
new file mode 100644
index 0000000000..3957ebeaf7
--- /dev/null
+++ b/dll/win32/netmsg/CMakeLists.txt
@@ -0,0 +1,5 @@
+
+add_library(netmsg SHARED netmsg.rc)
+set_module_type(netmsg module UNICODE)
+add_dependencies(netmsg netmsgmsg)
+add_cd_file(TARGET netmsg DESTINATION reactos/system32 FOR all)
diff --git a/dll/win32/netmsg/netmsg.rc b/dll/win32/netmsg/netmsg.rc
new file mode 100644
index 0000000000..df8f4ea2fd
--- /dev/null
+++ b/dll/win32/netmsg/netmsg.rc
@@ -0,0 +1,7 @@
+#define REACTOS_VERSION_DLL
+#define REACTOS_STR_FILE_DESCRIPTION "ReactOS Network Messages"
+#define REACTOS_STR_INTERNAL_NAME "netmsg"
+#define REACTOS_STR_ORIGINAL_FILENAME "netmsg.dll"
+#include <reactos/version.rc>
+
+#include <netmsg_msg.rc>
diff --git a/sdk/include/reactos/mc/CMakeLists.txt
b/sdk/include/reactos/mc/CMakeLists.txt
index 1a0e23025c..56e501f41a 100644
--- a/sdk/include/reactos/mc/CMakeLists.txt
+++ b/sdk/include/reactos/mc/CMakeLists.txt
@@ -5,6 +5,7 @@ list(APPEND ANSI_SOURCE
list(APPEND UNICODE_SOURCE
errcodes.mc
neteventmsg.mc
+ netmsgmsg.mc
ntiologc.mc
ntstatus.mc
pciclass.mc)
diff --git a/sdk/include/reactos/mc/netmsgmsg.mc b/sdk/include/reactos/mc/netmsgmsg.mc
new file mode 100644
index 0000000000..9324e7b634
--- /dev/null
+++ b/sdk/include/reactos/mc/netmsgmsg.mc
@@ -0,0 +1,90 @@
+;
+; netmsg_msg.mc MESSAGE resources for netmsg.dll
+;
+
+MessageIdTypedef=DWORD
+
+SeverityNames=(Success=0x0:STATUS_SEVERITY_SUCCESS
+ Informational=0x1:STATUS_SEVERITY_INFORMATIONAL
+ Warning=0x2:STATUS_SEVERITY_WARNING
+ Error=0x3:STATUS_SEVERITY_ERROR
+ )
+
+FacilityNames=(System=0x0:FACILITY_SYSTEM
+ )
+
+LanguageNames=(English=0x409:MSG00409)
+
+
+;
+; lmerr message definitions
+;
+
+MessageId=2102
+Severity=Success
+Facility=System
+SymbolicName=NERR_NetNotStarted
+Language=English
+The workstation driver is not installed.
+.
+
+MessageId=2103
+Severity=Success
+Facility=System
+SymbolicName=NERR_UnknownServer
+Language=English
+The server could not be located.
+.
+
+MessageId=2104
+Severity=Success
+Facility=System
+SymbolicName=NERR_ShareMem
+Language=English
+An internal error occurred. The network cannot access a shared memory segment.
+.
+
+MessageId=2105
+Severity=Success
+Facility=System
+SymbolicName=NERR_NoNetworkResource
+Language=English
+A network resource shortage occurred.
+.
+
+MessageId=2106
+Severity=Success
+Facility=System
+SymbolicName=NERR_RemoteOnly
+Language=English
+This operation is not supported on workstations.
+.
+
+MessageId=2107
+Severity=Success
+Facility=System
+SymbolicName=NERR_DevNotRedirected
+Language=English
+The device is not connected.
+.
+
+
+;
+; other message definitions
+;
+
+MessageId=3500
+Severity=Success
+Facility=System
+SymbolicName=OTHER_3000
+Language=English
+The command completed successfully.
+.
+
+MessageId=3515
+Severity=Success
+Facility=System
+SymbolicName=OTHER_3515
+Language=English
+The command can be used only on a Domain Controller.
+.