11#define SETTINGSSUBKEY L"Software\\ReactOS\\" RAPPS_NAME
142 while (InfoListPosition)
164 while (InfoListPosition)
182 if (!szDownloadDir.GetEnvironmentVariableW(
L"SystemDrive"))
184 szDownloadDir =
L"C:";
212 ZeroMemory(pSettingsInfo,
sizeof(*pSettingsInfo));
222 pSettingsInfo->
Width = 680;
223 pSettingsInfo->
Height = 450;
struct mke2fs_defaults settings[]
static void AddInfoFields(ATL::CAtlList< SettingsField * > &infoFields, SETTINGS_INFO &settings)
static void GetDefaultDownloadDirectory(CStringW &szDownloadDir)
static VOID ValidateStringSettings(PSETTINGS_INFO pSettingsInfo)
static BOOL LoadAllSettings(CRegKey &key, SETTINGS_INFO &settings)
VOID FillDefaultSettings(PSETTINGS_INFO pSettingsInfo)
static BOOL SaveAllSettings(CRegKey &key, SETTINGS_INFO &settings)
POSITION AddTail(INARGTYPE element)
POSITION GetHeadPosition() const
E & GetNext(_Inout_ POSITION &pos)
LONG Open(HKEY hKeyParent, LPCTSTR lpszKeyName, REGSAM samDesired=KEY_READ|KEY_WRITE) noexcept
LONG Create(HKEY hKeyParent, LPCTSTR lpszKeyName, LPTSTR lpszClass=REG_NONE, DWORD dwOptions=REG_OPTION_NON_VOLATILE, REGSAM samDesired=KEY_READ|KEY_WRITE, LPSECURITY_ATTRIBUTES lpSecAttr=NULL, LPDWORD lpdwDisposition=NULL) noexcept
static void __cdecl CopyChars(_Out_writes_to_(nDestLen, nChars) XCHAR *pchDest, _In_ size_t nDestLen, _In_reads_opt_(nChars) const XCHAR *pchSrc, _In_ int nChars) noexcept
void ReleaseBuffer(_In_ int nNewLength=-1)
PXSTR GetString() noexcept
int GetLength() const noexcept
SettingsFieldBool(BOOL *pValue, LPCWSTR szRegName)
virtual BOOL Load(CRegKey &key) override
virtual BOOL Save(CRegKey &key) override
virtual BOOL Load(CRegKey &key) override
virtual BOOL Save(CRegKey &key) override
SettingsFieldInt(INT *pValue, LPCWSTR szRegName)
SettingsFieldString(WCHAR *pString, ULONG cchLen, LPCWSTR szRegName)
virtual BOOL Load(CRegKey &key) override
virtual BOOL Save(CRegKey &key) override
virtual BOOL Load(CRegKey &key)=0
virtual BOOL Save(CRegKey &key)=0
HRESULT WINAPI SHGetFolderPathW(HWND hwndOwner, int nFolder, HANDLE hToken, DWORD dwFlags, LPWSTR pszPath)
#define INTERNET_MAX_URL_LENGTH
#define REG_OPTION_NON_VOLATILE
WCHAR szDownloadDir[MAX_PATH]
_Must_inspect_result_ _In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR _Out_ WDFDEVICE _Inout_opt_ PWDF_CHILD_RETRIEVE_INFO Info
#define HKEY_CURRENT_USER
BOOL WINAPI GetWindowPlacement(_In_ HWND, _Inout_ WINDOWPLACEMENT *)
#define WPF_RESTORETOMAXIMIZED