ReactOS 0.4.15-dev-5667-ged97270
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
29typedef struct
30{
37 HWND hDialogs[5];
39
40/* globals */
41extern HINSTANCE hInst;
42
43/* theming hack */
45
46/* dialog wnd proc */
54
55/* DirectDraw tests */
57
58/* Direct3D tests */
60
61/* DirectSound initialization */
63
64/* display adapter initialization */
66
67/* general functions */
68BOOL GetFileVersion(LPCWSTR szAppName, WCHAR * szVer, DWORD szVerSize);
69BOOL GetFileModifyTime(LPCWSTR pFullPath, WCHAR * szTime, int szTimeSize);
70BOOL GetCatFileFromDriverPath(LPWSTR szFileName, LPWSTR szCatFileName);
74
75#endif /* PRECOMP_H__ */
Type
Definition: Type.h:7
BOOL GetCatFileFromDriverPath(LPWSTR szFileName, LPWSTR szCatFileName)
INT_PTR CALLBACK InputPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
Definition: input.c:207
HINSTANCE hInst
Definition: dxdiag.c:13
BOOL EnableDialogTheme(HWND hwnd)
Definition: dxdiag.c:38
VOID InsertTabCtrlItem(HWND hDlgCtrl, INT Position, LPWSTR uId)
Definition: dxdiag.c:102
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:393
BOOL GetFileVersion(LPCWSTR szAppName, WCHAR *szVer, DWORD szVerSize)
Definition: network.c:105
VOID EnumerateDrivers(PVOID Context, HDEVINFO hList, PSP_DEVINFO_DATA pInfoData)
Definition: display.c:103
INT_PTR CALLBACK NetworkPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
Definition: network.c:342
INT_PTR CALLBACK DisplayPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
Definition: display.c:366
INT_PTR CALLBACK HelpPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
Definition: help.c:13
void InitializeDisplayAdapters(PDXDIAG_CONTEXT pContext)
Definition: display.c:312
struct DXDIAG_CONTEXT * PDXDIAG_CONTEXT
BOOL GetRegValue(HKEY hBaseKey, LPWSTR SubKey, LPWSTR ValueName, DWORD Type, LPWSTR Result, DWORD Size)
Definition: system.c:15
void InitializeDirectSoundPage(PDXDIAG_CONTEXT pContext)
Definition: sound.c:265
BOOL GetFileModifyTime(LPCWSTR pFullPath, WCHAR *szTime, int szTimeSize)
Definition: display.c:15
INT_PTR CALLBACK MusicPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
Definition: music.c:13
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139
VOID D3DTests()
Definition: d3dtest.c:73
VOID DDTests()
Definition: ddtest.c:71
#define CALLBACK
Definition: compat.h:35
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
HWND hList
Definition: livecd.c:10
unsigned int UINT
Definition: ndis.h:50
TCHAR szAppName[128]
Definition: solitaire.cpp:17
TCHAR szTime[64]
Definition: solitaire.cpp:19
HWND hMainDialog
Definition: precomp.h:31
HWND * hSoundWnd
Definition: precomp.h:36
ULONG NumSoundAdapter
Definition: precomp.h:35
HWND * hDisplayWnd
Definition: precomp.h:34
ULONG NumDisplayAdapter
Definition: precomp.h:33
HWND hTabCtrl
Definition: precomp.h:32
Definition: tftpd.h:60
static COORD Position
Definition: mouse.c:34
int32_t INT_PTR
Definition: typedefs.h:64
int32_t INT
Definition: typedefs.h:58
uint32_t ULONG
Definition: typedefs.h:59
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
Definition: wdfdevice.h:4533
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING ValueName
Definition: wdfregistry.h:243
_In_ LONG _In_ HWND hwnd
Definition: winddi.h:4023
LONG_PTR LPARAM
Definition: windef.h:208
UINT_PTR WPARAM
Definition: windef.h:207
_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
__wchar_t WCHAR
Definition: xmlstorage.h:180
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185