Author: akhaldi
Date: Sat Jan 4 14:13:48 2014
New Revision: 61529
URL:
http://svn.reactos.org/svn/reactos?rev=61529&view=rev
Log:
[DXDIAG]
* Remove one time inclusions from the main header and put them back where they belong.
* Cleanup the main header.
CORE-7716
Modified:
trunk/reactos/base/applications/dxdiag/d3dtest.c
trunk/reactos/base/applications/dxdiag/display.c
trunk/reactos/base/applications/dxdiag/input.c
trunk/reactos/base/applications/dxdiag/network.c
trunk/reactos/base/applications/dxdiag/precomp.h
trunk/reactos/base/applications/dxdiag/sound.c
Modified: trunk/reactos/base/applications/dxdiag/d3dtest.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/dxdiag/d…
==============================================================================
--- trunk/reactos/base/applications/dxdiag/d3dtest.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/dxdiag/d3dtest.c [iso-8859-1] Sat Jan 4 14:13:48
2014
@@ -7,6 +7,8 @@
*/
#include "precomp.h"
+
+#include <stdio.h>
#define WIDTH 800
#define HEIGHT 600
Modified: trunk/reactos/base/applications/dxdiag/display.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/dxdiag/d…
==============================================================================
--- trunk/reactos/base/applications/dxdiag/display.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/dxdiag/display.c [iso-8859-1] Sat Jan 4 14:13:48
2014
@@ -8,6 +8,7 @@
*/
#include "precomp.h"
+
#include <d3d9.h>
BOOL
Modified: trunk/reactos/base/applications/dxdiag/input.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/dxdiag/i…
==============================================================================
--- trunk/reactos/base/applications/dxdiag/input.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/dxdiag/input.c [iso-8859-1] Sat Jan 4 14:13:48 2014
@@ -8,6 +8,7 @@
*/
#include "precomp.h"
+
#include <dinput.h>
typedef struct
Modified: trunk/reactos/base/applications/dxdiag/network.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/dxdiag/n…
==============================================================================
--- trunk/reactos/base/applications/dxdiag/network.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/dxdiag/network.c [iso-8859-1] Sat Jan 4 14:13:48
2014
@@ -8,6 +8,8 @@
*/
#include "precomp.h"
+
+#include <winver.h>
typedef struct
{
Modified: trunk/reactos/base/applications/dxdiag/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/dxdiag/p…
==============================================================================
--- trunk/reactos/base/applications/dxdiag/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/base/applications/dxdiag/precomp.h [iso-8859-1] Sat Jan 4 14:13:48
2014
@@ -5,7 +5,7 @@
#define DIRECTSOUND_VERSION 0x0800
#define D3D_OVERLOADS
-#include <stdio.h>
+#include <stdarg.h>
#define WIN32_NO_STATUS
#define _INC_WINDOWS
@@ -14,17 +14,13 @@
#include <windef.h>
#include <winbase.h>
#include <winreg.h>
-#include <winsvc.h>
#include <wingdi.h>
#include <winnls.h>
-#include <winver.h>
#include <winuser.h>
-#include <mmsystem.h>
#include <setupapi.h>
#include <ddraw.h>
#include <initguid.h>
#include <devguid.h>
-#include <mmreg.h>
#include "resource.h"
@@ -73,4 +69,5 @@
BOOL GetRegValue(HKEY hBaseKey, LPWSTR SubKey, LPWSTR ValueName, DWORD Type, LPWSTR
Result, DWORD Size);
VOID InsertTabCtrlItem(HWND hDlgCtrl, INT Position, LPWSTR uId);
VOID EnumerateDrivers(PVOID Context, HDEVINFO hList, PSP_DEVINFO_DATA pInfoData);
-#endif
+
+#endif /* PRECOMP_H__ */
Modified: trunk/reactos/base/applications/dxdiag/sound.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/dxdiag/s…
==============================================================================
--- trunk/reactos/base/applications/dxdiag/sound.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/dxdiag/sound.c [iso-8859-1] Sat Jan 4 14:13:48 2014
@@ -8,6 +8,9 @@
*/
#include "precomp.h"
+
+#include <mmsystem.h>
+#include <mmreg.h>
#include <dsound.h>
#if 0