[NETMSG] Add netmsg resource dll with some lmerr messages
authorEric Kohl <eric.kohl@reactos.org>
Sat, 14 Apr 2018 16:31:14 +0000 (18:31 +0200)
committerEric Kohl <eric.kohl@reactos.org>
Sat, 14 Apr 2018 16:56:09 +0000 (18:56 +0200)
dll/win32/netmsg/CMakeLists.txt [new file with mode: 0644]
dll/win32/netmsg/netmsg.rc [new file with mode: 0644]
sdk/include/reactos/mc/CMakeLists.txt
sdk/include/reactos/mc/netmsgmsg.mc [new file with mode: 0644]

diff --git a/dll/win32/netmsg/CMakeLists.txt b/dll/win32/netmsg/CMakeLists.txt
new file mode 100644 (file)
index 0000000..3957ebe
--- /dev/null
@@ -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 (file)
index 0000000..df8f4ea
--- /dev/null
@@ -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>
index 1a0e230..56e501f 100644 (file)
@@ -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 (file)
index 0000000..9324e7b
--- /dev/null
@@ -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.
+.