Author: akhaldi
Date: Thu Aug 11 15:17:39 2011
New Revision: 53186
URL:
http://svn.reactos.org/svn/reactos?rev=53186&view=rev
Log:
[NETCFGX]
* Improve the PCH and activate it.
Modified:
trunk/reactos/dll/win32/netcfgx/CMakeLists.txt
trunk/reactos/dll/win32/netcfgx/inetcfgcomp_iface.c
trunk/reactos/dll/win32/netcfgx/netcfg_iface.c
trunk/reactos/dll/win32/netcfgx/netcfgx.c
trunk/reactos/dll/win32/netcfgx/netcfgx.rbuild
trunk/reactos/dll/win32/netcfgx/precomp.h
Modified: trunk/reactos/dll/win32/netcfgx/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netcfgx/CMakeLis…
==============================================================================
--- trunk/reactos/dll/win32/netcfgx/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netcfgx/CMakeLists.txt [iso-8859-1] Thu Aug 11 15:17:39 2011
@@ -23,5 +23,5 @@
wine)
add_importlibs(netcfgx rpcrt4 setupapi advapi32 iphlpapi ole32 user32 comctl32 ws2_32
msvcrt kernel32 ntdll)
-
+add_pch(netcfgx precomp.h)
add_cd_file(TARGET netcfgx DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/dll/win32/netcfgx/inetcfgcomp_iface.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netcfgx/inetcfgc…
==============================================================================
--- trunk/reactos/dll/win32/netcfgx/inetcfgcomp_iface.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netcfgx/inetcfgcomp_iface.c [iso-8859-1] Thu Aug 11 15:17:39
2011
@@ -1,5 +1,4 @@
#include "precomp.h"
-#include <devguid.h>
typedef struct
{
Modified: trunk/reactos/dll/win32/netcfgx/netcfg_iface.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netcfgx/netcfg_i…
==============================================================================
--- trunk/reactos/dll/win32/netcfgx/netcfg_iface.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netcfgx/netcfg_iface.c [iso-8859-1] Thu Aug 11 15:17:39 2011
@@ -1,5 +1,4 @@
#include "precomp.h"
-#include <devguid.h>
typedef struct
{
Modified: trunk/reactos/dll/win32/netcfgx/netcfgx.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netcfgx/netcfgx.…
==============================================================================
--- trunk/reactos/dll/win32/netcfgx/netcfgx.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netcfgx/netcfgx.c [iso-8859-1] Thu Aug 11 15:17:39 2011
@@ -7,18 +7,13 @@
* PROGRAMMERS: Hervé Poussineau (hpoussin(a)reactos.org)
*/
-
#include "precomp.h"
-#include <initguid.h>
-#include <devguid.h>
+
#define NDEBUG
#include <debug.h>
HINSTANCE netcfgx_hInstance;
const GUID CLSID_TcpipConfigNotifyObject = {0xA907657F, 0x6FDF, 0x11D0, {0x8E, 0xFB,
0x00, 0xC0, 0x4F, 0xD9, 0x12, 0xB2}};
-
-
-
static INTERFACE_TABLE InterfaceTable[] =
{
Modified: trunk/reactos/dll/win32/netcfgx/netcfgx.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netcfgx/netcfgx.…
==============================================================================
--- trunk/reactos/dll/win32/netcfgx/netcfgx.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netcfgx/netcfgx.rbuild [iso-8859-1] Thu Aug 11 15:17:39 2011
@@ -20,4 +20,5 @@
<file>inetcfgcomp_iface.c</file>
<file>tcpipconf_notify.c</file>
<file>netcfgx.rc</file>
+ <pch>precomp.h</pch>
</module>
Modified: trunk/reactos/dll/win32/netcfgx/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netcfgx/precomp.…
==============================================================================
--- trunk/reactos/dll/win32/netcfgx/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netcfgx/precomp.h [iso-8859-1] Thu Aug 11 15:17:39 2011
@@ -17,6 +17,9 @@
#include <netcfgn.h>
#include "resource.h"
#include <prsht.h>
+
+#include <initguid.h>
+#include <devguid.h>
typedef HRESULT (CALLBACK *LPFNCREATEINSTANCE)(IUnknown* pUnkOuter, REFIID riid, LPVOID*
ppvObject);
typedef struct {