Alexandre Julliard : wineboot: Also set the Flags value under ProfileList.
Alexandre Julliard
julliard at winehq.org
Thu Nov 21 16:33:26 CST 2019
Module: wine
Branch: master
Commit: 63f823157081c3efab5d71242b4b9f03b0c0033a
URL: https://source.winehq.org/git/wine.git/?a=commit;h=63f823157081c3efab5d71242b4b9f03b0c0033a
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Nov 21 09:24:35 2019 +0100
wineboot: Also set the Flags value under ProfileList.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
programs/wineboot/wineboot.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/programs/wineboot/wineboot.c b/programs/wineboot/wineboot.c
index 9710b78ab7..0a404c74a8 100644
--- a/programs/wineboot/wineboot.c
+++ b/programs/wineboot/wineboot.c
@@ -1204,9 +1204,10 @@ static void update_user_profile(void)
if (!RegCreateKeyExW(hkey, sid, 0, NULL, 0,
KEY_ALL_ACCESS, NULL, &profile_hkey, NULL))
{
+ DWORD flags = 0;
if (SHGetSpecialFolderPathW(NULL, profile, CSIDL_PROFILE, TRUE))
set_reg_value(profile_hkey, profile_image_path, profile);
-
+ RegSetValueExW( profile_hkey, L"Flags", 0, REG_DWORD, (const BYTE *)&flags, sizeof(flags) );
RegCloseKey(profile_hkey);
}
More information about the wine-cvs
mailing list