[THEMEUI] Add this module for .msstyle file type association. By Lee Schroeder. CORE-5984

svn path=/trunk/; revision=67242
This commit is contained in:
Amine Khaldi 2015-04-18 09:52:23 +00:00
parent 20acb71cf4
commit 4016681e08
5 changed files with 25 additions and 0 deletions

View file

@ -266,6 +266,18 @@ HKCR,"sysfile","NoOpen",0x00000000,""
HKCR,"sysfile","FriendlyTypeName",0x00020000,"@%SystemRoot%\system32\shell32.dll,-171" HKCR,"sysfile","FriendlyTypeName",0x00020000,"@%SystemRoot%\system32\shell32.dll,-171"
HKCR,"sysfile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\shell32.dll,-154" HKCR,"sysfile\DefaultIcon","",0x00020000,"%SystemRoot%\system32\shell32.dll,-154"
; MS Styles (Themes)
HKCR,".msstyles","",0x00000000,"msstylesfile"
HKCR,"msstylesfile","",0x00000000,"Visual Style File"
HKCR,"msstylesfile\DefaultIcon","","0x00020000","%SystemRoot%\system32\themeui.dll,-1"
HKCR,"msstylesfile\shell\open\command","",0x00000000,"%SystemRoot%\system32\rundll32.exe shell32.dll,Control_RunDLL %SystemRoot%\system32\desk.cpl desk,@Appearance /Action:OpenMSTheme file:""%1"""
; Theme File
HKCR,".theme","",0x00000000,"themefile"
HKCR,"themefile","",0x00000000,"Theme File"
HKCR,"themefile\DefaultIcon","","0x00020000","%SystemRoot%\system32\themeui.dll,-1"
HKCR,"themefile\shell\open\command","",0x00000000,"%SystemRoot%\system32\rundll32.exe shell32.dll,Control_RunDLL %SystemRoot%\system32\desk.cpl desk,@Appearance /Action:OpenTheme /file:""%1"""
; URL shortcuts (e.g. used in favorites folder of IExplorer) ; URL shortcuts (e.g. used in favorites folder of IExplorer)
HKCR,".url","",0x00000000,"InternetShortcut" HKCR,".url","",0x00000000,"InternetShortcut"

View file

@ -203,6 +203,7 @@ add_subdirectory(syssetup)
add_subdirectory(t2embed) add_subdirectory(t2embed)
add_subdirectory(tapi32) add_subdirectory(tapi32)
add_subdirectory(tapiui) add_subdirectory(tapiui)
add_subdirectory(themeui)
add_subdirectory(traffic) add_subdirectory(traffic)
add_subdirectory(twain_32) add_subdirectory(twain_32)
add_subdirectory(uext2) add_subdirectory(uext2)

View file

@ -0,0 +1,4 @@
add_library(themeui SHARED themeui.rc)
set_module_type(themeui win32dll ENTRYPOINT 0)
add_cd_file(TARGET themeui DESTINATION reactos/system32 FOR all)

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View file

@ -0,0 +1,8 @@
#define REACTOS_VERSION_DLL
#define REACTOS_STR_FILE_DESCRIPTION "Theme UI Library\0"
#define REACTOS_STR_INTERNAL_NAME "themeui\0"
#define REACTOS_STR_ORIGINAL_FILENAME "themeui.dll\0"
#include <reactos/version.rc>
1 ICON "themeui.ico"