Author: akhaldi
Date: Mon Jan 13 13:16:29 2014
New Revision: 61616
URL:
http://svn.reactos.org/svn/reactos?rev=61616&view=rev
Log:
[WINLOGON]
* Remove one time inclusions from the main header and put them back where they belong.
* Improve the main header.
CORE-7716
Modified:
trunk/reactos/base/system/winlogon/environment.c
trunk/reactos/base/system/winlogon/sas.c
trunk/reactos/base/system/winlogon/winlogon.c
trunk/reactos/base/system/winlogon/winlogon.h
Modified: trunk/reactos/base/system/winlogon/environment.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/winlogon/envir…
==============================================================================
--- trunk/reactos/base/system/winlogon/environment.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/winlogon/environment.c [iso-8859-1] Mon Jan 13 13:16:29
2014
@@ -11,9 +11,6 @@
/* INCLUDES *****************************************************************/
#include "winlogon.h"
-
-/* GLOBALS ******************************************************************/
-
/* FUNCTIONS ****************************************************************/
Modified: trunk/reactos/base/system/winlogon/sas.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/winlogon/sas.c…
==============================================================================
--- trunk/reactos/base/system/winlogon/sas.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/winlogon/sas.c [iso-8859-1] Mon Jan 13 13:16:29 2014
@@ -12,6 +12,14 @@
/* INCLUDES *****************************************************************/
#include "winlogon.h"
+
+#define WIN32_LEAN_AND_MEAN
+#include <aclapi.h>
+#include <mmsystem.h>
+#include <userenv.h>
+#include <ndk/setypes.h>
+#include <ndk/sefuncs.h>
+#include <reactos/winlogon.h>
/* GLOBALS ******************************************************************/
Modified: trunk/reactos/base/system/winlogon/winlogon.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/winlogon/winlo…
==============================================================================
--- trunk/reactos/base/system/winlogon/winlogon.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/winlogon/winlogon.c [iso-8859-1] Mon Jan 13 13:16:29 2014
@@ -11,6 +11,8 @@
/* INCLUDES *****************************************************************/
#include "winlogon.h"
+
+#include <ndk/cmfuncs.h>
/* GLOBALS ******************************************************************/
Modified: trunk/reactos/base/system/winlogon/winlogon.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/winlogon/winlo…
==============================================================================
--- trunk/reactos/base/system/winlogon/winlogon.h [iso-8859-1] (original)
+++ trunk/reactos/base/system/winlogon/winlogon.h [iso-8859-1] Mon Jan 13 13:16:29 2014
@@ -26,24 +26,22 @@
#ifndef __WINLOGON_MAIN_H__
#define __WINLOGON_MAIN_H__
+#include <stdarg.h>
+
#define USE_GETLASTINPUTINFO
#define WIN32_NO_STATUS
-#define WIN32_LEAN_AND_MEAN
-#include <windows.h>
-#include <mmsystem.h>
-#include <userenv.h>
+#include <windef.h>
+#include <winbase.h>
+#include <wingdi.h>
+#include <winuser.h>
+#include <winreg.h>
#include <winwlx.h>
-#include <cmfuncs.h>
-#include <rtlfuncs.h>
-#include <exfuncs.h>
-#include <setypes.h>
-#include <sefuncs.h>
-#include <aclapi.h>
+#include <ndk/rtlfuncs.h>
+#include <ndk/exfuncs.h>
#include <strsafe.h>
#include <reactos/undocuser.h>
-#include <reactos/winlogon.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(winlogon);