Author: akhaldi
Date: Sat Apr 18 09:52:23 2015
New Revision: 67242

URL: http://svn.reactos.org/svn/reactos?rev=67242&view=rev
Log:
[THEMEUI] Add this module for .msstyle file type association. By Lee Schroeder. 
CORE-5984

Added:
    trunk/reactos/dll/win32/themeui/
    trunk/reactos/dll/win32/themeui/CMakeLists.txt   (with props)
    trunk/reactos/dll/win32/themeui/themeui.ico   (with props)
    trunk/reactos/dll/win32/themeui/themeui.rc   (with props)
Modified:
    trunk/reactos/boot/bootdata/hivecls.inf
    trunk/reactos/dll/win32/CMakeLists.txt

Modified: trunk/reactos/boot/bootdata/hivecls.inf
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/bootdata/hivecls.inf?rev=67242&r1=67241&r2=67242&view=diff
==============================================================================
--- trunk/reactos/boot/bootdata/hivecls.inf     [iso-8859-1] (original)
+++ trunk/reactos/boot/bootdata/hivecls.inf     [iso-8859-1] Sat Apr 18 
09:52:23 2015
@@ -265,6 +265,18 @@
 HKCR,"sysfile","NoOpen",0x00000000,""
 
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"

Modified: trunk/reactos/dll/win32/CMakeLists.txt
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/CMakeLists.txt?rev=67242&r1=67241&r2=67242&view=diff
==============================================================================
--- trunk/reactos/dll/win32/CMakeLists.txt      [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/CMakeLists.txt      [iso-8859-1] Sat Apr 18 
09:52:23 2015
@@ -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)

Added: trunk/reactos/dll/win32/themeui/CMakeLists.txt
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/themeui/CMakeLists.txt?rev=67242
==============================================================================
--- trunk/reactos/dll/win32/themeui/CMakeLists.txt      (added)
+++ trunk/reactos/dll/win32/themeui/CMakeLists.txt      [iso-8859-1] Sat Apr 18 
09:52:23 2015
@@ -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)

Propchange: trunk/reactos/dll/win32/themeui/CMakeLists.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: trunk/reactos/dll/win32/themeui/themeui.ico
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/themeui/themeui.ico?rev=67242
==============================================================================
Binary file - no diff available.

Propchange: trunk/reactos/dll/win32/themeui/themeui.ico
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: trunk/reactos/dll/win32/themeui/themeui.rc
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/themeui/themeui.rc?rev=67242
==============================================================================
--- trunk/reactos/dll/win32/themeui/themeui.rc  (added)
+++ trunk/reactos/dll/win32/themeui/themeui.rc  [iso-8859-1] Sat Apr 18 
09:52:23 2015
@@ -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"

Propchange: trunk/reactos/dll/win32/themeui/themeui.rc
------------------------------------------------------------------------------
    svn:eol-style = native


Reply via email to