ReactOS  0.4.15-dev-3442-gc05a45e
wined3dcfg.h
Go to the documentation of this file.
1 #ifndef _WINED3DCFG_PCH_
2 #define _WINED3DCFG_PCH_
3 
4 #include <stdarg.h>
5 #define WIN32_NO_STATUS
6 #include <windef.h>
7 #include <winbase.h>
8 #include <winuser.h>
9 #include <commctrl.h>
10 
11 #include "resource.h"
12 
13 #define MAX_KEY_LENGTH 256
14 
15 #define VALUE_GDI L"GDI"
16 #define VALUE_ENABLED L"Enabled"
17 #define VALUE_DISABLED L"Disabled"
18 #define VALUE_NONE L"None"
19 #define VALUE_BACKBUFFER L"Backbuffer"
20 #define VALUE_FBO L"FBO"
21 #define VALUE_DEFAULT L"Default"
22 
23 #define KEY_WINE L"Software\\Wine\\Direct3D"
24 
25 #define KEY_GLSL L"UseGLSL"
26 #define KEY_GSLEVEL L"MaxShaderModelGS"
27 #define KEY_VSLEVEL L"MaxShaderModelVS"
28 #define KEY_PSLEVEL L"MaxShaderModelPS"
29 #define KEY_STRICTDRAWORDERING L"StrictDrawOrdering"
30 #define KEY_OFFSCREEN L"OffscreenRenderingMode"
31 #define KEY_MULTISAMPLING L"Multisampling"
32 #define KEY_VIDMEMSIZE L"VideoMemorySize"
33 #define KEY_ALWAYSOFFSCREEN L"AlwaysOffscreen"
34 #define KEY_DDRENDERER L"DirectDrawRenderer"
35 
36 #define INIT_CONTROL(a, b) InitControl(hWndDlg, hKey, KEY_##a, b, IDC_##a, sizeof(b)/sizeof(WINED3D_SETTINGS))
37 #define SAVE_CONTROL(a, b) SaveSetting(hWndDlg, hKey, KEY_##a, b, IDC_##a, sizeof(b)/sizeof(WINED3D_SETTINGS))
38 
40 
41 typedef struct _WINED3D_SETTINGS{
46 
47 #endif /* _WINED3DCFG_PCH_ */
#define CALLBACK
Definition: compat.h:35
UINT_PTR WPARAM
Definition: windef.h:207
int32_t INT_PTR
Definition: typedefs.h:64
int32_t INT
Definition: typedefs.h:58
WPARAM wParam
Definition: combotst.c:138
WCHAR szValue[24]
Definition: wined3dcfg.h:42
struct _WINED3D_SETTINGS * PWINED3D_SETTINGS
LONG_PTR LPARAM
Definition: windef.h:208
struct _WINED3D_SETTINGS WINED3D_SETTINGS
__wchar_t WCHAR
Definition: xmlstorage.h:180
INT_PTR CALLBACK GeneralPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
unsigned int UINT
Definition: ndis.h:50
LPARAM lParam
Definition: combotst.c:139