Author: akhaldi
Date: Mon Jan 6 21:03:41 2014
New Revision: 61553
URL:
http://svn.reactos.org/svn/reactos?rev=61553&view=rev
Log:
[DEVMGMT]
* Remove one time inclusions from the main header and put them back where they belong.
* Cleanup the main header.
* Improve the GUIDs situation.
CORE-7716
Modified:
trunk/reactos/base/applications/mscutils/devmgmt/devmgmt.c
trunk/reactos/base/applications/mscutils/devmgmt/enumdevices.c
trunk/reactos/base/applications/mscutils/devmgmt/mainwnd.c
trunk/reactos/base/applications/mscutils/devmgmt/precomp.h
Modified: trunk/reactos/base/applications/mscutils/devmgmt/devmgmt.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mscutils…
==============================================================================
--- trunk/reactos/base/applications/mscutils/devmgmt/devmgmt.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mscutils/devmgmt/devmgmt.c [iso-8859-1] Mon Jan 6
21:03:41 2014
@@ -8,6 +8,8 @@
*/
#include "precomp.h"
+
+#include <winnls.h>
HINSTANCE hInstance;
HANDLE ProcessHeap;
Modified: trunk/reactos/base/applications/mscutils/devmgmt/enumdevices.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mscutils…
==============================================================================
--- trunk/reactos/base/applications/mscutils/devmgmt/enumdevices.c [iso-8859-1]
(original)
+++ trunk/reactos/base/applications/mscutils/devmgmt/enumdevices.c [iso-8859-1] Mon Jan 6
21:03:41 2014
@@ -8,6 +8,11 @@
*/
#include "precomp.h"
+
+#include <cfgmgr32.h>
+#include <dll/devmgr/devmgr.h>
+#include <initguid.h>
+#include <devguid.h>
static SP_CLASSIMAGELIST_DATA ImageListData;
static HDEVINFO hDevInfo;
Modified: trunk/reactos/base/applications/mscutils/devmgmt/mainwnd.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mscutils…
==============================================================================
--- trunk/reactos/base/applications/mscutils/devmgmt/mainwnd.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mscutils/devmgmt/mainwnd.c [iso-8859-1] Mon Jan 6
21:03:41 2014
@@ -8,6 +8,8 @@
*/
#include "precomp.h"
+
+#include <windowsx.h>
static BOOL pCreateToolbar(PMAIN_WND_INFO Info);
Modified: trunk/reactos/base/applications/mscutils/devmgmt/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mscutils…
==============================================================================
--- trunk/reactos/base/applications/mscutils/devmgmt/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mscutils/devmgmt/precomp.h [iso-8859-1] Mon Jan 6
21:03:41 2014
@@ -2,19 +2,14 @@
#define __DEVMGMT_PRECOMP_H
#include <stdarg.h>
+
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <winreg.h>
#include <wingdi.h>
-#include <winnls.h>
-#include <windowsx.h>
#include <tchar.h>
#include <setupapi.h>
-#include <cfgmgr32.h>
-#include <dll/devmgr/devmgr.h>
-#include <initguid.h>
-#include <devguid.h>
#include "resource.h"