Author: akhaldi
Date: Sat Jan 25 12:55:52 2014
New Revision: 61803
URL:
http://svn.reactos.org/svn/reactos?rev=61803&view=rev
Log:
[SAMLIB]
* 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/samlib/dllmain.c
trunk/reactos/dll/win32/samlib/precomp.h
trunk/reactos/dll/win32/samlib/samlib.c
Modified: trunk/reactos/dll/win32/samlib/dllmain.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/samlib/dllmain.c…
==============================================================================
--- trunk/reactos/dll/win32/samlib/dllmain.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/samlib/dllmain.c [iso-8859-1] Sat Jan 25 12:55:52 2014
@@ -24,7 +24,7 @@
* PROGRAMER: Eric Kohl
*/
-#include "precomp.h"
+#include <windef.h>
/* FUNCTIONS *****************************************************************/
Modified: trunk/reactos/dll/win32/samlib/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/samlib/precomp.h…
==============================================================================
--- trunk/reactos/dll/win32/samlib/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/samlib/precomp.h [iso-8859-1] Sat Jan 25 12:55:52 2014
@@ -3,14 +3,6 @@
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
+
#include <windef.h>
#include <winbase.h>
-
-#define NTOS_MODE_USER
-#include <ndk/rtlfuncs.h>
-#include <ntsam.h>
-
-#include <sam_c.h>
-
-#include <wine/debug.h>
-WINE_DEFAULT_DEBUG_CHANNEL(samlib);
Modified: trunk/reactos/dll/win32/samlib/samlib.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/samlib/samlib.c?…
==============================================================================
--- trunk/reactos/dll/win32/samlib/samlib.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/samlib/samlib.c [iso-8859-1] Sat Jan 25 12:55:52 2014
@@ -26,6 +26,15 @@
#include "precomp.h"
+#define NTOS_MODE_USER
+#include <ndk/rtlfuncs.h>
+#include <ntsam.h>
+#include <sam_c.h>
+
+#include <wine/debug.h>
+
+WINE_DEFAULT_DEBUG_CHANNEL(samlib);
+
NTSTATUS
WINAPI
SystemFunction006(LPCSTR password,