Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenprecomp.h
Go to the documentation of this file.
00001 #ifndef PRECOMP_H__ 00002 #define PRECOMP_H__ 00003 00004 #define DIRECTINPUT_VERSION 0x0800 00005 #define DIRECTSOUND_VERSION 0x0800 00006 #define D3D_OVERLOADS 00007 00008 #include <stdio.h> 00009 #include <windows.h> 00010 #include <limits.h> 00011 #include <mmsystem.h> 00012 #include <setupapi.h> 00013 #include <commctrl.h> 00014 #include <ddraw.h> 00015 #include <initguid.h> 00016 #include <devguid.h> 00017 #include <mmreg.h> 00018 #include <wintrust.h> 00019 #include <softpub.h> 00020 #include <mscat.h> 00021 #include "resource.h" 00022 00023 typedef struct 00024 { 00025 HWND hMainDialog; 00026 HWND hTabCtrl; 00027 ULONG NumDisplayAdapter; 00028 HWND * hDisplayWnd; 00029 ULONG NumSoundAdapter; 00030 HWND * hSoundWnd; 00031 HWND hDialogs[5]; 00032 }DXDIAG_CONTEXT, *PDXDIAG_CONTEXT; 00033 00034 /* globals */ 00035 extern HINSTANCE hInst; 00036 00037 /* dialog wnd proc */ 00038 INT_PTR CALLBACK SystemPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam); 00039 INT_PTR CALLBACK DisplayPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam); 00040 INT_PTR CALLBACK SoundPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam); 00041 INT_PTR CALLBACK MusicPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam); 00042 INT_PTR CALLBACK InputPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam); 00043 INT_PTR CALLBACK NetworkPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam); 00044 INT_PTR CALLBACK HelpPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam); 00045 00046 /* DirectDraw tests */ 00047 VOID DDTests(VOID); 00048 00049 /* Direct3D tests */ 00050 VOID D3DTests(VOID); 00051 00052 /* DirectSound initialization */ 00053 void InitializeDirectSoundPage(PDXDIAG_CONTEXT pContext); 00054 00055 /* display adapter initialization */ 00056 void InitializeDisplayAdapters(PDXDIAG_CONTEXT pContext); 00057 00058 /* general functions */ 00059 BOOL GetFileVersion(LPCWSTR szAppName, WCHAR * szVer, DWORD szVerSize); 00060 BOOL GetFileModifyTime(LPCWSTR pFullPath, WCHAR * szTime, int szTimeSize); 00061 BOOL GetCatFileFromDriverPath(LPWSTR szFileName, LPWSTR szCatFileName); 00062 BOOL GetRegValue(HKEY hBaseKey, LPWSTR SubKey, LPWSTR ValueName, DWORD Type, LPWSTR Result, DWORD Size); 00063 VOID InsertTabCtrlItem(HWND hDlgCtrl, INT Position, LPWSTR uId); 00064 VOID EnumerateDrivers(PVOID Context, HDEVINFO hList, PSP_DEVINFO_DATA pInfoData); 00065 #endif Generated on Sat May 26 2012 04:15:23 for ReactOS by
1.7.6.1
|