ReactOS  0.4.12-dev-18-gf469aca
precomp.h
Go to the documentation of this file.
1 #ifndef PRECOMP_H__
2 #define PRECOMP_H__
3 
4 #define DIRECTINPUT_VERSION 0x0800
5 #define DIRECTSOUND_VERSION 0x0800
6 #define D3D_OVERLOADS
7 
8 #include <stdarg.h>
9 
10 #define WIN32_NO_STATUS
11 #define _INC_WINDOWS
12 #define COM_NO_WINDOWS_H
13 #include <stdarg.h>
14 #include <windef.h>
15 #include <winbase.h>
16 #include <winreg.h>
17 #include <wingdi.h>
18 #include <winnls.h>
19 #include <winuser.h>
20 #include <setupapi.h>
21 #include <ddraw.h>
22 #include <initguid.h>
23 #include <devguid.h>
24 #include <strsafe.h>
25 #include <udmihelp.h>
26 
27 #include "resource.h"
28 
29 typedef struct
30 {
37  HWND hDialogs[5];
39 
40 /* globals */
41 extern HINSTANCE hInst;
42 
43 /* theming hack */
45 
46 /* dialog wnd proc */
54 
55 /* DirectDraw tests */
57 
58 /* Direct3D tests */
60 
61 /* DirectSound initialization */
62 void InitializeDirectSoundPage(PDXDIAG_CONTEXT pContext);
63 
64 /* display adapter initialization */
65 void InitializeDisplayAdapters(PDXDIAG_CONTEXT pContext);
66 
67 /* general functions */
68 BOOL GetFileVersion(LPCWSTR szAppName, WCHAR * szVer, DWORD szVerSize);
69 BOOL GetFileModifyTime(LPCWSTR pFullPath, WCHAR * szTime, int szTimeSize);
70 BOOL GetCatFileFromDriverPath(LPWSTR szFileName, LPWSTR szCatFileName);
74 
75 #endif /* PRECOMP_H__ */
const DOCKBAR PVOID HWND HWND * hwnd
Definition: tooldock.h:22
Definition: tftpd.h:59
Type
Definition: Type.h:6
TCHAR szTime[64]
Definition: solitaire.cpp:18
__wchar_t WCHAR
Definition: xmlstorage.h:180
VOID DDTests(VOID)
ULONG NumDisplayAdapter
Definition: precomp.h:33
static COORD Position
Definition: mouse.c:34
#define CALLBACK
Definition: compat.h:27
INT_PTR CALLBACK HelpPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
Definition: help.c:13
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
HINSTANCE hInst
Definition: dxdiag.c:13
int32_t INT_PTR
Definition: typedefs.h:62
VOID EnumerateDrivers(PVOID Context, HDEVINFO hList, PSP_DEVINFO_DATA pInfoData)
Definition: display.c:103
int32_t INT
Definition: typedefs.h:56
WPARAM wParam
Definition: combotst.c:138
void InitializeDirectSoundPage(PDXDIAG_CONTEXT pContext)
Definition: sound.c:265
UINT_PTR WPARAM
Definition: windef.h:207
INT_PTR CALLBACK SoundPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
Definition: sound.c:283
INT_PTR CALLBACK SystemPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
Definition: system.c:383
_In_ PUNICODE_STRING ValueName
Definition: cmfuncs.h:264
VOID D3DTests(VOID)
BOOL GetRegValue(HKEY hBaseKey, LPWSTR SubKey, LPWSTR ValueName, DWORD Type, LPWSTR Result, DWORD Size)
Definition: system.c:15
LONG_PTR LPARAM
Definition: windef.h:208
PWSTR szAppName
Definition: solitaire.cpp:16
struct DXDIAG_CONTEXT * PDXDIAG_CONTEXT
_At_(*)(_In_ PWSK_CLIENT Client, _In_opt_ PUNICODE_STRING NodeName, _In_opt_ PUNICODE_STRING ServiceName, _In_opt_ ULONG NameSpace, _In_opt_ GUID *Provider, _In_opt_ PADDRINFOEXW Hints, _Outptr_ PADDRINFOEXW *Result, _In_opt_ PEPROCESS OwningProcess, _In_opt_ PETHREAD OwningThread, _Inout_ PIRP Irp Result)(Mem)) NTSTATUS(WSKAPI *PFN_WSK_GET_ADDRESS_INFO
Definition: wsk.h:426
INT_PTR CALLBACK DisplayPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
Definition: display.c:366
BOOL GetFileVersion(LPCWSTR szAppName, WCHAR *szVer, DWORD szVerSize)
Definition: network.c:105
unsigned int BOOL
Definition: ntddk_ex.h:94
INT_PTR CALLBACK NetworkPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
Definition: network.c:342
unsigned int UINT
Definition: ndis.h:50
unsigned long DWORD
Definition: ntddk_ex.h:95
BOOL EnableDialogTheme(HWND hwnd)
Definition: dxdiag.c:38
HWND * hSoundWnd
Definition: precomp.h:36
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:359
BOOL GetCatFileFromDriverPath(LPWSTR szFileName, LPWSTR szCatFileName)
HWND hTabCtrl
Definition: precomp.h:32
HWND hList
Definition: livecd.c:10
VOID InsertTabCtrlItem(HWND hDlgCtrl, INT Position, LPWSTR uId)
Definition: dxdiag.c:102
ULONG NumSoundAdapter
Definition: precomp.h:35
HWND * hDisplayWnd
Definition: precomp.h:34
BOOL GetFileModifyTime(LPCWSTR pFullPath, WCHAR *szTime, int szTimeSize)
Definition: display.c:15
INT_PTR CALLBACK InputPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
Definition: input.c:207
HWND hMainDialog
Definition: precomp.h:31
void InitializeDisplayAdapters(PDXDIAG_CONTEXT pContext)
Definition: display.c:312
unsigned int ULONG
Definition: retypes.h:1
INT_PTR CALLBACK MusicPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
Definition: music.c:13
WCHAR * LPWSTR
Definition: xmlstorage.h:184
LPARAM lParam
Definition: combotst.c:139