Author: akhaldi
Date: Sat Jan 25 10:45:26 2014
New Revision: 61798
URL:
http://svn.reactos.org/svn/reactos?rev=61798&view=rev
Log:
[NETCFGX]
* Remove one time inclusions from the main header and put them back where they belong.
CORE-7716
Modified:
trunk/reactos/dll/win32/netcfgx/netcfgx.c
trunk/reactos/dll/win32/netcfgx/precomp.h
trunk/reactos/dll/win32/netcfgx/tcpipconf_notify.c
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] Sat Jan 25 10:45:26 2014
@@ -8,6 +8,12 @@
*/
#include "precomp.h"
+
+#include <olectl.h>
+
+#define NTOS_MODE_USER
+#include <ndk/iofuncs.h>
+#include <ndk/rtlfuncs.h>
#define NDEBUG
#include <debug.h>
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] Sat Jan 25 10:45:26 2014
@@ -1,36 +1,26 @@
#ifndef _PRECOMP_H__
#define _PRECOMP_H__
+
+#include <stdio.h>
+
+#define WIN32_NO_STATUS
+#define _INC_WINDOWS
+#define COM_NO_WINDOWS_H
#define COBJMACROS
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-#define COM_NO_WINDOWS_H
-#include <stdarg.h>
#include <windef.h>
+#include <winbase.h>
#include <winreg.h>
-#include <winbase.h>
-#include <winnls.h>
#include <objbase.h>
-#include <winsock2.h>
-#define NTOS_MODE_USER
-#include <ndk/iofuncs.h>
-#include <ndk/rtlfuncs.h>
#include <netcfgx.h>
#include <setupapi.h>
-#include <stdio.h>
-#include <iphlpapi.h>
-#include <dhcpcsdk.h>
-#include <dhcpcapi.h>
-#include <olectl.h>
#include <netcfgn.h>
+#include <devguid.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 {
@@ -72,4 +62,4 @@
extern const GUID CLSID_TcpipConfigNotifyObject;
-#endif
+#endif /* _PRECOMP_H__ */
Modified: trunk/reactos/dll/win32/netcfgx/tcpipconf_notify.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netcfgx/tcpipcon…
==============================================================================
--- trunk/reactos/dll/win32/netcfgx/tcpipconf_notify.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/netcfgx/tcpipconf_notify.c [iso-8859-1] Sat Jan 25 10:45:26
2014
@@ -1,4 +1,10 @@
#include "precomp.h"
+
+#include <winnls.h>
+#include <winsock.h>
+#include <iphlpapi.h>
+#include <dhcpcsdk.h>
+#include <dhcpcapi.h>
typedef struct
{