61 for(iCurrent = 0; iCurrent < iCount; iCurrent++)
65 if(
dwSize && ((dwType ==
REG_DWORD && *szBuffer == pSettings[iCurrent].iValue) ||
66 (dwType ==
REG_SZ && !
wcscmp(szBuffer, pSettings[iCurrent].szValue))))
104 if(iSel < 0 || iSel > iCount)
#define RegCloseKey(hKey)
INT_PTR CALLBACK GeneralPageProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
static VOID InitSettings(HWND hWndDlg)
void InitControl(HWND hWndDlg, HKEY hKey, PWCHAR szKey, PWINED3D_SETTINGS pSettings, INT iControlId, INT iCount)
WINED3D_SETTINGS gwd3dsDisable[]
WINED3D_SETTINGS gwd3dsShaderLvl[]
WINED3D_SETTINGS gwd3dsEnable[]
WINED3D_SETTINGS gwd3dsOffscreen[]
WINED3D_SETTINGS gwd3dsDdRender[]
static VOID SaveSetting(HWND hWnd, HKEY hKey, PWCHAR szKey, PWINED3D_SETTINGS pCfg, INT iControlId, INT iCount)
static VOID WriteSettings(HWND hWndDlg)
WINED3D_SETTINGS gwd3dsVidMem[]
LONG WINAPI RegCreateKeyExW(_In_ HKEY hKey, _In_ LPCWSTR lpSubKey, _In_ DWORD Reserved, _In_opt_ LPWSTR lpClass, _In_ DWORD dwOptions, _In_ REGSAM samDesired, _In_opt_ LPSECURITY_ATTRIBUTES lpSecurityAttributes, _Out_ PHKEY phkResult, _Out_opt_ LPDWORD lpdwDisposition)
LONG WINAPI RegOpenKeyExW(HKEY hKey, LPCWSTR lpSubKey, DWORD ulOptions, REGSAM samDesired, PHKEY phkResult)
LONG WINAPI RegSetValueExW(_In_ HKEY hKey, _In_ LPCWSTR lpValueName, _In_ DWORD Reserved, _In_ DWORD dwType, _In_ CONST BYTE *lpData, _In_ DWORD cbData)
LONG WINAPI RegDeleteValueW(HKEY hKey, LPCWSTR lpValueName)
LONG WINAPI RegQueryValueExW(_In_ HKEY hkeyorg, _In_ LPCWSTR name, _In_ LPDWORD reserved, _In_ LPDWORD type, _In_ LPBYTE data, _In_ LPDWORD count)
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
#define PropSheet_Changed(d, w)
struct _PSHNOTIFY * LPPSHNOTIFY
_Check_return_ _CRTIMP int __cdecl wcscmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
#define SAVE_CONTROL(a, b)
#define INIT_CONTROL(a, b)
#define HKEY_CURRENT_USER
LRESULT WINAPI SendDlgItemMessageW(_In_ HWND, _In_ int, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
HWND WINAPI GetParent(_In_ HWND)