[DXDIAG]
[reactos.git] / reactos / base / applications / dxdiag / precomp.h
index b049f77..7c63f42 100644 (file)
@@ -5,18 +5,23 @@
 #define DIRECTSOUND_VERSION 0x0800
 #define D3D_OVERLOADS
 
-#include <stdio.h>
-#include <windows.h>
-#include <limits.h>
-#include <mmsystem.h>
+#include <stdarg.h>
+
+#define WIN32_NO_STATUS
+#define _INC_WINDOWS
+#define COM_NO_WINDOWS_H
+#include <stdarg.h>
+#include <windef.h>
+#include <winbase.h>
+#include <winreg.h>
+#include <wingdi.h>
+#include <winnls.h>
+#include <winuser.h>
 #include <setupapi.h>
-#include <commctrl.h>
 #include <ddraw.h>
+#include <initguid.h>
+#include <devguid.h>
 
-#include <mmreg.h>
-#include <wintrust.h>
-#include <softpub.h>
-#include <mscat.h>
 #include "resource.h"
 
 typedef struct
@@ -33,6 +38,9 @@ typedef struct
 /* globals */
 extern HINSTANCE hInst;
 
+/* theming hack */
+BOOL EnableDialogTheme(HWND hwnd);
+
 /* dialog wnd proc */
 INT_PTR CALLBACK SystemPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
 INT_PTR CALLBACK DisplayPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
@@ -43,10 +51,10 @@ INT_PTR CALLBACK NetworkPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPAR
 INT_PTR CALLBACK HelpPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
 
 /* DirectDraw tests */
-VOID DDTests();
+VOID DDTests(VOID);
 
 /* Direct3D tests */
-VOID D3DTests();
+VOID D3DTests(VOID);
 
 /* DirectSound initialization */
 void InitializeDirectSoundPage(PDXDIAG_CONTEXT pContext);
@@ -61,4 +69,5 @@ BOOL GetCatFileFromDriverPath(LPWSTR szFileName, LPWSTR szCatFileName);
 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__ */