[ros-diffs] [ekohl] 47810: [NETEVENT] - Add new netevent.dll. It is a resource dll that will be used by the event log viewer.

ekohl at svn.reactos.org ekohl at svn.reactos.org
Sun Jun 20 14:58:32 UTC 2010


Author: ekohl
Date: Sun Jun 20 14:58:29 2010
New Revision: 47810

URL: http://svn.reactos.org/svn/reactos?rev=47810&view=rev
Log:
[NETEVENT]
- Add new netevent.dll. It is a resource dll that will be used by the event log viewer.

Added:
    trunk/reactos/dll/win32/netevent/   (with props)
    trunk/reactos/dll/win32/netevent/netevent.c   (with props)
    trunk/reactos/dll/win32/netevent/netevent.rbuild   (with props)
    trunk/reactos/dll/win32/netevent/netevent.spec   (with props)
    trunk/reactos/dll/win32/netevent/netevt.rc   (with props)
    trunk/reactos/include/reactos/mc/netevent.mc   (with props)
Modified:
    trunk/reactos/baseaddress.rbuild
    trunk/reactos/boot/bootdata/packages/reactos.dff
    trunk/reactos/dll/win32/win32.rbuild
    trunk/reactos/include/reactos/mc/mc.rbuild

Modified: trunk/reactos/baseaddress.rbuild
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/baseaddress.rbuild?rev=47810&r1=47809&r2=47810&view=diff
==============================================================================
--- trunk/reactos/baseaddress.rbuild [iso-8859-1] (original)
+++ trunk/reactos/baseaddress.rbuild [iso-8859-1] Sun Jun 20 14:58:29 2010
@@ -27,7 +27,7 @@
 	<property name="BASEADDRESS_MSDVBNP"		value="0x58280000" />
 	<property name="BASEADDRESS_MSG711ACM"		value="0x584f0000" />
 	<property name="BASEADDRESS_IMAADP32ACM"	value="0x585e0000" />
-	<property name="BASEADDRESS_BDAPLGIN"	value="0x58600000" />
+	<property name="BASEADDRESS_BDAPLGIN"		value="0x58600000" />
 	<property name="BASEADDRESS_TELEPHON"		value="0x58750000" />
 	<property name="BASEADDRESS_PWRCFG"		value="0x587e0000" />
 	<property name="BASEADDRESS_MMSYS"		value="0x588a0000" />
@@ -133,6 +133,7 @@
 	<property name="BASEADDRESS_OLESVR32"		value="0x71dd0000" />
 	<property name="BASEADDRESS_OLECLI32"		value="0x71df0000" />
 	<property name="BASEADDRESS_OLETHK32"		value="0x71e10000" />
+	<property name="BASEADDRESS_NETEVENT"		value="0x71e70000" />
 	<property name="BASEADDRESS_DPLAY"		value="0x71e80000" />
 	<property name="BASEADDRESS_SECURITY"		value="0x71f10000" />
 	<property name="BASEADDRESS_MSSIGN32"		value="0x720c0000" />

Modified: trunk/reactos/boot/bootdata/packages/reactos.dff
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/bootdata/packages/reactos.dff?rev=47810&r1=47809&r2=47810&view=diff
==============================================================================
--- trunk/reactos/boot/bootdata/packages/reactos.dff [iso-8859-1] (original)
+++ trunk/reactos/boot/bootdata/packages/reactos.dff [iso-8859-1] Sun Jun 20 14:58:29 2010
@@ -365,6 +365,7 @@
 dll\win32\nddeapi\nddeapi.dll                       1
 dll\win32\netapi32\netapi32.dll                     1
 dll\win32\netcfgx\netcfgx.dll                       1
+dll\win32\netevent\netevent.dll                     1
 dll\win32\netid\netid.dll                           1
 dll\win32\netshell\netshell.dll                     1
 dll\win32\newdev\newdev.dll                         1

Propchange: trunk/reactos/dll/win32/netevent/
------------------------------------------------------------------------------
--- bugtraq:logregex (added)
+++ bugtraq:logregex Sun Jun 20 14:58:29 2010
@@ -1,0 +1,2 @@
+([Ii]ssue|[Bb]ug)s? #?(\d+)(,? ?#?(\d+))*(,? ?(and |or )?#?(\d+))?
+(\d+)

Propchange: trunk/reactos/dll/win32/netevent/
------------------------------------------------------------------------------
    bugtraq:message = See issue #%BUGID% for more details.

Propchange: trunk/reactos/dll/win32/netevent/
------------------------------------------------------------------------------
    bugtraq:url = http://www.reactos.org/bugzilla/show_bug.cgi?id=%BUGID%

Propchange: trunk/reactos/dll/win32/netevent/
------------------------------------------------------------------------------
    tsvn:logminsize = 10

Added: trunk/reactos/dll/win32/netevent/netevent.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netevent/netevent.c?rev=47810&view=auto
==============================================================================
--- trunk/reactos/dll/win32/netevent/netevent.c (added)
+++ trunk/reactos/dll/win32/netevent/netevent.c [iso-8859-1] Sun Jun 20 14:58:29 2010
@@ -1,0 +1,25 @@
+/*
+ * PROJECT:     ReactOS Network Event Handler
+ * LICENSE:     GPL - See COPYING in the top level directory
+ * FILE:        dll/win32/netevent/netevent.c
+ * PURPOSE:     Dummy main file
+ * COPYRIGHT:   Eric Kohl
+ */
+
+#include <windows.h>
+
+BOOL
+WINAPI
+DllMain(IN HINSTANCE hinstDLL,
+        IN DWORD dwReason,
+        IN LPVOID lpvReserved)
+{
+    switch (dwReason)
+    {
+        case DLL_PROCESS_ATTACH:
+            DisableThreadLibraryCalls(hinstDLL);
+            break;
+    }
+
+    return TRUE;
+}

Propchange: trunk/reactos/dll/win32/netevent/netevent.c
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: trunk/reactos/dll/win32/netevent/netevent.c
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: trunk/reactos/dll/win32/netevent/netevent.rbuild
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netevent/netevent.rbuild?rev=47810&view=auto
==============================================================================
--- trunk/reactos/dll/win32/netevent/netevent.rbuild (added)
+++ trunk/reactos/dll/win32/netevent/netevent.rbuild [iso-8859-1] Sun Jun 20 14:58:29 2010
@@ -1,0 +1,8 @@
+<module name="netevent" type="win32dll" baseaddress="${BASEADDRESS_NETEVENT}" installbase="system32" installname="netevent.dll" unicode="true">
+	<importlibrary definition="netevent.spec" />
+	<include base="netevent">.</include>
+	<include base="neteventmsg" root="intermediate">.</include>
+	<dependency>neteventmsg</dependency>
+	<file>netevent.c</file>
+	<file>netevt.rc</file>
+</module>

Propchange: trunk/reactos/dll/win32/netevent/netevent.rbuild
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: trunk/reactos/dll/win32/netevent/netevent.rbuild
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: trunk/reactos/dll/win32/netevent/netevent.spec
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netevent/netevent.spec?rev=47810&view=auto
==============================================================================
--- trunk/reactos/dll/win32/netevent/netevent.spec (added)
+++ trunk/reactos/dll/win32/netevent/netevent.spec [iso-8859-1] Sun Jun 20 14:58:29 2010
@@ -1,0 +1,1 @@
+# netevent.dll exports

Propchange: trunk/reactos/dll/win32/netevent/netevent.spec
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: trunk/reactos/dll/win32/netevent/netevent.spec
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: trunk/reactos/dll/win32/netevent/netevt.rc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netevent/netevt.rc?rev=47810&view=auto
==============================================================================
--- trunk/reactos/dll/win32/netevent/netevt.rc (added)
+++ trunk/reactos/dll/win32/netevent/netevt.rc [iso-8859-1] Sun Jun 20 14:58:29 2010
@@ -1,0 +1,9 @@
+#include <windows.h>
+
+#define REACTOS_VERSION_DLL
+#define REACTOS_STR_FILE_DESCRIPTION	"ReactOS Network Event Handler\0"
+#define REACTOS_STR_INTERNAL_NAME	"netevent\0"
+#define REACTOS_STR_ORIGINAL_FILENAME	"netevent.dll\0"
+#include <reactos/version.rc>
+
+#include "netevent.rc"

Propchange: trunk/reactos/dll/win32/netevent/netevt.rc
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: trunk/reactos/dll/win32/netevent/netevt.rc
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Modified: trunk/reactos/dll/win32/win32.rbuild
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/win32.rbuild?rev=47810&r1=47809&r2=47810&view=diff
==============================================================================
--- trunk/reactos/dll/win32/win32.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/win32.rbuild [iso-8859-1] Sun Jun 20 14:58:29 2010
@@ -334,6 +334,9 @@
 <directory name="netcfgx">
 	<xi:include href="netcfgx/netcfgx.rbuild" />
 </directory>
+<directory name="netevent">
+	<xi:include href="netevent/netevent.rbuild" />
+</directory>
 <directory name="netid">
 	<xi:include href="netid/netid.rbuild" />
 </directory>

Modified: trunk/reactos/include/reactos/mc/mc.rbuild
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/mc/mc.rbuild?rev=47810&r1=47809&r2=47810&view=diff
==============================================================================
--- trunk/reactos/include/reactos/mc/mc.rbuild [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/mc/mc.rbuild [iso-8859-1] Sun Jun 20 14:58:29 2010
@@ -12,4 +12,8 @@
 	<module name="errcodes" type="messageheader">
 		<file>errcodes.mc</file>
 	</module>
+
+	<module name="neteventmsg" type="messageheader">
+		<file>netevent.mc</file>
+	</module>
 </group>

Added: trunk/reactos/include/reactos/mc/netevent.mc
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/mc/netevent.mc?rev=47810&view=auto
==============================================================================
--- trunk/reactos/include/reactos/mc/netevent.mc (added)
+++ trunk/reactos/include/reactos/mc/netevent.mc [iso-8859-1] Sun Jun 20 14:58:29 2010
@@ -1,0 +1,68 @@
+;
+; netevent.mc MESSAGE resources for netevent.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)
+
+
+;
+; message definitions
+;
+
+; Facility=System
+
+; Eventlog messages 6xxx-
+
+MessageId=6005
+Severity=Warning
+Facility=System
+SymbolicName=EVENT_EventlogStarted
+Language=English
+The Event log service was started.
+.
+
+MessageId=6006
+Severity=Warning
+Facility=System
+SymbolicName=EVENT_EventlogStopped
+Language=English
+The Event log service was stopped.
+.
+
+MessageId=6009
+Severity=Warning
+Facility=System
+SymbolicName=EVENT_EventlogProductInfo
+Language=English
+ReactOS %1 %2 %3 %4.
+.
+
+
+; transport messages
+
+MessageId=9004
+Severity=Error
+Facility=System
+SymbolicName=EVENT_TRANSPORT_REGISTER_FAILED
+Language=English
+%2 failed to register itself with the NDIS wrapper.
+.
+
+MessageId=9006
+Severity=Error
+Facility=System
+SymbolicName=EVENT_TRANSPORT_ADAPTER_NOT_FOUND
+Language=English
+%2 could not find adapter %3.
+.

Propchange: trunk/reactos/include/reactos/mc/netevent.mc
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: trunk/reactos/include/reactos/mc/netevent.mc
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision




More information about the Ros-diffs mailing list