diff --git a/reactos/dll/win32/netcfgx/netcfgx.c b/reactos/dll/win32/netcfgx/netcfgx.c index dfe665be705..3ae083a5b26 100644 --- a/reactos/dll/win32/netcfgx/netcfgx.c +++ b/reactos/dll/win32/netcfgx/netcfgx.c @@ -9,6 +9,12 @@ #include "precomp.h" +#include + +#define NTOS_MODE_USER +#include +#include + #define NDEBUG #include diff --git a/reactos/dll/win32/netcfgx/precomp.h b/reactos/dll/win32/netcfgx/precomp.h index a5000fd6b4e..22e86236a90 100644 --- a/reactos/dll/win32/netcfgx/precomp.h +++ b/reactos/dll/win32/netcfgx/precomp.h @@ -1,37 +1,27 @@ #ifndef _PRECOMP_H__ #define _PRECOMP_H__ +#include + +#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 #include -#include #include -#include +#include #include -#include -#define NTOS_MODE_USER -#include -#include #include #include -#include -#include -#include -#include -#include #include -#include "resource.h" -//#include - -//#include #include +#include "resource.h" + typedef HRESULT (CALLBACK *LPFNCREATEINSTANCE)(IUnknown* pUnkOuter, REFIID riid, LPVOID* ppvObject); typedef struct { REFIID riid; @@ -72,4 +62,4 @@ HRESULT WINAPI TcpipConfigNotify_Constructor (IUnknown * pUnkOuter, REFIID riid, extern const GUID CLSID_TcpipConfigNotifyObject; -#endif +#endif /* _PRECOMP_H__ */ diff --git a/reactos/dll/win32/netcfgx/tcpipconf_notify.c b/reactos/dll/win32/netcfgx/tcpipconf_notify.c index cf4966d1b00..7f53c298f5f 100644 --- a/reactos/dll/win32/netcfgx/tcpipconf_notify.c +++ b/reactos/dll/win32/netcfgx/tcpipconf_notify.c @@ -1,5 +1,11 @@ #include "precomp.h" +#include +#include +#include +#include +#include + typedef struct { DWORD EnableSecurityFilters;