Index: boot/bootdata/hivecls.inf =================================================================== --- boot/bootdata/hivecls.inf (revision 67197) +++ boot/bootdata/hivecls.inf (working copy) @@ -266,6 +266,18 @@ HKCR,"sysfile","FriendlyTypeName",0x00020000,"@%SystemRoot%\system32\shell32.dll,-171" 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) HKCR,".url","",0x00000000,"InternetShortcut" Index: dll/win32/CMakeLists.txt =================================================================== --- dll/win32/CMakeLists.txt (revision 67197) +++ dll/win32/CMakeLists.txt (working copy) @@ -203,6 +203,7 @@ add_subdirectory(t2embed) add_subdirectory(tapi32) add_subdirectory(tapiui) +add_subdirectory(themeui) add_subdirectory(traffic) add_subdirectory(twain_32) add_subdirectory(uext2) Index: dll/win32/themeui/CMakeLists.txt =================================================================== --- dll/win32/themeui/CMakeLists.txt (revision 0) +++ dll/win32/themeui/CMakeLists.txt (working copy) @@ -0,0 +1,5 @@ + +add_library(themeui SHARED themeui.rc) +set_module_type(themeui win32dll ENTRYPOINT 0) + +add_cd_file(TARGET themeui DESTINATION reactos/system32 FOR all) \ No newline at end of file Index: dll/win32/themeui/themeui.rc =================================================================== --- dll/win32/themeui/themeui.rc (revision 0) +++ dll/win32/themeui/themeui.rc (working copy) @@ -0,0 +1,7 @@ +#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 + +1 ICON "themeui.ico" \ No newline at end of file Index: dll/win32/themeui/CMakeLists.txt =================================================================== --- dll/win32/themeui/CMakeLists.txt (revision 0) +++ dll/win32/themeui/CMakeLists.txt (working copy) @@ -0,0 +1,5 @@ + +add_library(themeui SHARED themeui.rc) +set_module_type(themeui win32dll ENTRYPOINT 0) + +add_cd_file(TARGET themeui DESTINATION reactos/system32 FOR all) \ No newline at end of file Index: dll/win32/themeui/themeui.rc =================================================================== --- dll/win32/themeui/themeui.rc (revision 0) +++ dll/win32/themeui/themeui.rc (working copy) @@ -0,0 +1,7 @@ +#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 + +1 ICON "themeui.ico" \ No newline at end of file