Author: akhaldi
Date: Sat Jan 25 18:07:29 2014
New Revision: 61813
URL:
http://svn.reactos.org/svn/reactos?rev=61813&view=rev
Log:
[SMDLL]
* Remove one time inclusions from the main header and put them back where they belong.
* Improve header inclusions.
CORE-7716
Modified:
trunk/reactos/dll/win32/smdll/dllmain.c
trunk/reactos/dll/win32/smdll/precomp.h
trunk/reactos/dll/win32/smdll/query.c
Modified: trunk/reactos/dll/win32/smdll/dllmain.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/smdll/dllmain.c?…
==============================================================================
--- trunk/reactos/dll/win32/smdll/dllmain.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/smdll/dllmain.c [iso-8859-1] Sat Jan 25 18:07:29 2014
@@ -5,7 +5,7 @@
* PURPOSE: SM Helper Library
*/
-#include "precomp.h"
+#include <windef.h>
BOOL WINAPI DllMainCRTStartup(HANDLE hinstDll, DWORD fdwReason, LPVOID fImpLoad)
{
Modified: trunk/reactos/dll/win32/smdll/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/smdll/precomp.h?…
==============================================================================
--- trunk/reactos/dll/win32/smdll/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/smdll/precomp.h [iso-8859-1] Sat Jan 25 18:07:29 2014
@@ -1,4 +1,5 @@
-#define NTOS_MODE_USER
-#include <ndk/lpctypes.h>
-#include <ndk/lpcfuncs.h>
-#include <sm/helper.h>
+#define WIN32_NO_STATUS
+#define _INC_WINDOWS
+#define COM_NO_WINDOWS_H
+
+#include <windef.h>
Modified: trunk/reactos/dll/win32/smdll/query.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/smdll/query.c?re…
==============================================================================
--- trunk/reactos/dll/win32/smdll/query.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/smdll/query.c [iso-8859-1] Sat Jan 25 18:07:29 2014
@@ -6,6 +6,11 @@
*/
#include "precomp.h"
+
+#define NTOS_MODE_USER
+#include <ndk/lpctypes.h>
+#include <ndk/lpcfuncs.h>
+#include <sm/helper.h>
#define NDEBUG
#include <debug.h>