Author: akhaldi
Date: Thu Jan 23 11:13:16 2014
New Revision: 61760
URL:
http://svn.reactos.org/svn/reactos?rev=61760&view=rev
Log:
[DEVMGR]
* 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/devmgr/advprop.c
trunk/reactos/dll/win32/devmgr/devprblm.c
trunk/reactos/dll/win32/devmgr/hwpage.c
trunk/reactos/dll/win32/devmgr/hwresource.c
trunk/reactos/dll/win32/devmgr/misc.c
trunk/reactos/dll/win32/devmgr/precomp.h
trunk/reactos/dll/win32/devmgr/stubs.c
Modified: trunk/reactos/dll/win32/devmgr/advprop.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/devmgr/advprop.c…
==============================================================================
--- trunk/reactos/dll/win32/devmgr/advprop.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/devmgr/advprop.c [iso-8859-1] Thu Jan 23 11:13:16 2014
@@ -26,7 +26,10 @@
* UPDATE HISTORY:
* 04-04-2004 Created
*/
+
#include "precomp.h"
+
+#include <winver.h>
#define NDEBUG
#include <debug.h>
Modified: trunk/reactos/dll/win32/devmgr/devprblm.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/devmgr/devprblm.…
==============================================================================
--- trunk/reactos/dll/win32/devmgr/devprblm.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/devmgr/devprblm.c [iso-8859-1] Thu Jan 23 11:13:16 2014
@@ -24,11 +24,11 @@
* UPDATE HISTORY:
* 04-04-2004 Created
*/
+
#include "precomp.h"
#define NDEBUG
#include <debug.h>
-
BOOL
ShowDeviceProblemWizard(IN HWND hWndParent OPTIONAL,
Modified: trunk/reactos/dll/win32/devmgr/hwpage.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/devmgr/hwpage.c?…
==============================================================================
--- trunk/reactos/dll/win32/devmgr/hwpage.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/devmgr/hwpage.c [iso-8859-1] Thu Jan 23 11:13:16 2014
@@ -24,6 +24,7 @@
* UPDATE HISTORY:
* 04-04-2004 Created
*/
+
#include "precomp.h"
#define NDEBUG
Modified: trunk/reactos/dll/win32/devmgr/hwresource.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/devmgr/hwresourc…
==============================================================================
--- trunk/reactos/dll/win32/devmgr/hwresource.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/devmgr/hwresource.c [iso-8859-1] Thu Jan 23 11:13:16 2014
@@ -6,8 +6,8 @@
* UPDATE HISTORY:
* 2005/11/24 Created
*/
+
#include "precomp.h"
-
#define NDEBUG
#include <debug.h>
Modified: trunk/reactos/dll/win32/devmgr/misc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/devmgr/misc.c?re…
==============================================================================
--- trunk/reactos/dll/win32/devmgr/misc.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/devmgr/misc.c [iso-8859-1] Thu Jan 23 11:13:16 2014
@@ -24,13 +24,13 @@
* UPDATE HISTORY:
* 2005/11/24 Created
*/
+
#include "precomp.h"
#define NDEBUG
#include <debug.h>
HINSTANCE hDllInstance = NULL;
-
INT
LengthOfStrResource(IN HINSTANCE hInst,
Modified: trunk/reactos/dll/win32/devmgr/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/devmgr/precomp.h…
==============================================================================
--- trunk/reactos/dll/win32/devmgr/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/devmgr/precomp.h [iso-8859-1] Thu Jan 23 11:13:16 2014
@@ -1,14 +1,18 @@
#ifndef __DEVMGR_H
#define __DEVMGR_H
+#include <stdarg.h>
+
#define WIN32_NO_STATUS
-#define WIN32_LEAN_AND_MEAN
-#include <windows.h>
+#include <windef.h>
+#include <winbase.h>
+#include <winreg.h>
+#include <winnls.h>
+#include <winuser.h>
#include <wchar.h>
#include <regstr.h>
#include <setupapi.h>
#include <cfgmgr32.h>
-#include <newdev.h>
#include <dll/devmgr/devmgr.h>
#include "resource.h"
@@ -221,5 +225,3 @@
OUT PSP_DRVINFO_DATA DriverInfoData);
#endif /* __DEVMGR_H */
-
-/* EOF */
Modified: trunk/reactos/dll/win32/devmgr/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/devmgr/stubs.c?r…
==============================================================================
--- trunk/reactos/dll/win32/devmgr/stubs.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/devmgr/stubs.c [iso-8859-1] Thu Jan 23 11:13:16 2014
@@ -15,6 +15,7 @@
* UPDATE HISTORY:
* 04-04-2004 Created
*/
+
#include <windef.h>
#define NDEBUG