https://git.reactos.org/?p=reactos.git;a=commitdiff;h=34b0f3e4f8e8d3e3061dd053c517f3daf07a91cd
commit 34b0f3e4f8e8d3e3061dd053c517f3daf07a91cd
Author: Hermès Bélusca-Maïto
AuthorDate: Sat May 5 22:20:21 2018 +0200
Commit: Hermès Bélusca-Maïto
CommitDate: Sat May 5 22:20:21 2018 +0200
[BOOTDATA][SHELL32] Add some recognized file extensions (.db, .efi, .nls,
.ocx, .tlb, .nt), and update some reported MIME types.
CORE-11308
---
boot/bootdata/hivecls.inf | 68 -
dll/win32/shell32/lang/bg-BG.rc | 7 +
dll/win32/shell32/lang/ca-ES.rc | 7 +
dll/win32/shell32/lang/cs-CZ.rc | 9 +-
dll/win32/shell32/lang/da-DK.rc | 7 +
dll/win32/shell32/lang/de-DE.rc | 9 +-
dll/win32/shell32/lang/el-GR.rc | 7 +
dll/win32/shell32/lang/en-GB.rc | 7 +
dll/win32/shell32/lang/en-US.rc | 7 +
dll/win32/shell32/lang/es-ES.rc | 7 +
dll/win32/shell32/lang/et-EE.rc | 7 +
dll/win32/shell32/lang/fi-FI.rc | 7 +
dll/win32/shell32/lang/fr-FR.rc | 13 ++--
dll/win32/shell32/lang/he-IL.rc | 9 +-
dll/win32/shell32/lang/hu-HU.rc | 7 +
dll/win32/shell32/lang/it-IT.rc | 7 +
dll/win32/shell32/lang/ja-JP.rc | 7 +
dll/win32/shell32/lang/ko-KR.rc | 7 +
dll/win32/shell32/lang/nl-NL.rc | 7 +
dll/win32/shell32/lang/no-NO.rc | 7 +
dll/win32/shell32/lang/pl-PL.rc | 7 +
dll/win32/shell32/lang/pt-BR.rc | 7 +
dll/win32/shell32/lang/pt-PT.rc | 7 +
dll/win32/shell32/lang/ro-RO.rc | 7 +
dll/win32/shell32/lang/ru-RU.rc | 7 +
dll/win32/shell32/lang/sk-SK.rc | 7 +
dll/win32/shell32/lang/sl-SI.rc | 7 +
dll/win32/shell32/lang/sq-AL.rc | 7 +
dll/win32/shell32/lang/sv-SE.rc | 7 +
dll/win32/shell32/lang/tr-TR.rc | 7 +
dll/win32/shell32/lang/uk-UA.rc | 7 +
dll/win32/shell32/lang/zh-CN.rc | 9 +-
dll/win32/shell32/lang/zh-TW.rc | 7 +
dll/win32/shell32/shresdef.h| 8 -
34 files changed, 298 insertions(+), 16 deletions(-)
diff --git a/boot/bootdata/hivecls.inf b/boot/bootdata/hivecls.inf
index f368d4e3c5..a424bfcc09 100644
--- a/boot/bootdata/hivecls.inf
+++ b/boot/bootdata/hivecls.inf
@@ -20,6 +20,7 @@
HKCR,"Folder\shell\explore\command","",0x,"explorer.exe /e,""%1"""
; Clipboard Element
HKCR,".clp","",0x,"clpfile"
+HKCR,".clp","Content Type",0x,"application/x-msclip"
HKCR,"clpfile","",0x,"Clipboard Element"
HKCR,"clpfile","FriendlyTypeName",0x0002,"@%SystemRoot%\system32\clipbrd.exe,-121"
HKCR,"clpfile\DefaultIcon","",0x0002,"%SystemRoot%\system32\clipbrd.exe,1"
@@ -78,6 +79,7 @@ HKCR,"cmdfile\shell\open\command","",0x,"""%1"" %*"
; DOS Applications
HKCR,".com","",0x,"comfile"
+HKCR,".com","Content Type",0x,"application/x-msdos-program"
HKCR,"comfile","",0x,"DOS Application"
HKCR,"comfile","EditFlags",0x00010001,0x0010
HKCR,"comfile","FriendlyTypeName",0x0002,"@%SystemRoot%\system32\shell32.dll,-203"
@@ -100,8 +102,16 @@ HKCR,"curfile","",0x,"Cursor"
HKCR,"curfile","FriendlyTypeName",0x0002,"@%SystemRoot%\system32\shell32.dll,-205"
HKCR,"curfile\DefaultIcon","",0x,"%1"
+; Database File
+HKCR,".db","",0x,"dbfile"
+HKCR,"dbfile","",0x,"Database File"
+HKCR,"dbfile","FriendlyTypeName",0x0002,"@%SystemRoot%\system32\shell32.dll,-220"
+HKCR,"dbfile","NoOpen",0x,""
+HKCR,"dbfile\DefaultIcon","",0x0002,"%SystemRoot%\system32\shell32.dll,-154"
+
; Dynamic Link Libraries
HKCR,".dll","",0x,"dllfile"
+HKCR,".dll","Content Type",0x,"application/x-msdownload"
HKCR,"dllfile","",0x,"Application Extension"
HKCR,"dllfile","EditFlags",0x00010001,0x0001
HKCR,"dllfile","FriendlyTypeName",0x0002,"@%SystemRoot%\system32\shell32.dll,-206"
@@ -114,8 +124,17 @@ HKCR,"drvfile","",0x,"Device Driver"
HKCR,"drvfile","FriendlyTypeName",0x0002,"@%SystemRoot%\system32\shell32.dll,-207"
HKCR,"drvfile\DefaultIcon","",0x0002,"%SystemRoot%\system32\shell32.dll,-154"
+; Extensible Firmware Interface Executable
+HKCR,".efi","",0x,"efifile"
+HKCR,".efi","Content Type",0x,"application/octet-stream"
+HKCR,"efifile","",0x,"Extensible Firmware Interface Executable"
+HKCR,"efifile","FriendlyTypeName",0x0002,"@%SystemRoot%\system32\shell32.dll,-221"
+HKCR,"efifile","NoOpen",0x,""
+HKCR,"efifile\DefaultIcon","",0x0002,"%SystemRoot%\system32\shell32.dll,-154"
+
; Applications
HKCR,".exe","",0x,"exefile"
+HKCR,".exe","Content Type",0x,"application/x-msdownload"
HKCR,"exefile","",0x,"Application"
HKCR,"exefile","EditFlags",0x00010001,0x0010
HKCR,"exefile","FriendlyTypeName",0x0002,"@%SystemRoot%\system32\shell32.dll,-208"
@@ -124,6 +143,29 @@ HKCR,"exefile\shell\open\command","",0x,"""%1"" %*"