https://git.reactos.org/?p=reactos.git;a=commitdiff;h=24647a270e72596ee61b9…
commit 24647a270e72596ee61b9f39bcc354556c999d6d
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Sun Apr 21 23:47:10 2019 +0900
Commit: GitHub <noreply(a)github.com>
CommitDate: Sun Apr 21 23:47:10 2019 +0900
[BOOTDATA] Add registry keys for ComDlg32 (#1511)
Add registry keys for ComDlg32. CORE-7114
---
boot/bootdata/hivedef.inf | 6 ++++++
boot/bootdata/livecd.inf | 5 +++++
2 files changed, 11 insertions(+)
diff --git a/boot/bootdata/hivedef.inf b/boot/bootdata/hivedef.inf
index f03cbc532d..8346f14515 100644
--- a/boot/bootdata/hivedef.inf
+++ b/boot/bootdata/hivedef.inf
@@ -1893,6 +1893,12 @@
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced","HideFileExt"
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced","StartMenuLogoff",0x00010003,0x00000001
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced","Hidden",0x00010003,1
+; ComDlg32
+HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32",,0x00000012
+HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\LastVisitedMRU",,0x00000012
+HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU",,0x00000012
+
+
; Default shell for the current user (overrides the defaults from the HKLM Winlogon
sub-key)
HKCU,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon",,0x00000012
;HKCU,"SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Winlogon","Shell",0x00020000,"%SystemRoot%\explorer.exe"
diff --git a/boot/bootdata/livecd.inf b/boot/bootdata/livecd.inf
index dd44f0ed53..9c6e38d005 100644
--- a/boot/bootdata/livecd.inf
+++ b/boot/bootdata/livecd.inf
@@ -37,6 +37,11 @@ HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell
Folders","Common
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell
Folders","Desktop",0x00020000,"%SystemDrive%\Profiles\Default
User\Desktop"
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell
Folders","Personal",0x00020000,"%SystemDrive%\Profiles\Default User\My
Documents"
+; ComDlg32
+HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32",,0x00000012
+HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\LastVisitedMRU",,0x00000012
+HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU",,0x00000012
+
; User Profile environment variables
HKLM,"SYSTEM\CurrentControlSet\Control\Session
Manager\Environment","USERPROFILE",0x00020000,"%SystemDrive%\Profiles\Default
User"
HKLM,"SYSTEM\CurrentControlSet\Control\Session
Manager\Environment","ALLUSERSPROFILE",0x00020000,"%SystemDrive%\Profiles\All
Users"