Owen Rudge : wine.inf: Add cplfile (control panel applet) association.

Alexandre Julliard julliard at winehq.org
Tue Jun 24 06:45:27 CDT 2008


Module: wine
Branch: master
Commit: 49d5c7fbe461eeb8600f1519bd9496d584102de0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=49d5c7fbe461eeb8600f1519bd9496d584102de0

Author: Owen Rudge <owen at owenrudge.net>
Date:   Mon Jun 23 18:53:48 2008 +0100

wine.inf: Add cplfile (control panel applet) association.

---

 tools/wine.inf.in |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/tools/wine.inf.in b/tools/wine.inf.in
index 38c48d5..8dfc0d5 100644
--- a/tools/wine.inf.in
+++ b/tools/wine.inf.in
@@ -96,6 +96,7 @@ Control="System\CurrentControlSet\Control"
 [Classes]
 HKCR,.avi,"Content Type",2,"video/avi"
 HKCR,.chm,,2,"chm.file"
+HKCR,.cpl,,2,"cplfile"
 HKCR,.dll,"Content Type",2,"application/x-msdownload"
 HKCR,.exe,,2,"exefile"
 HKCR,.exe,"Content Type",2,"application/x-msdownload"
@@ -119,6 +120,8 @@ HKCR,.xml,,2,"xmlfile"
 HKCR,.xml,"Content Type",2,"text/xml"
 HKCR,.xsl,"Content Type",2,"text/xsl"
 HKCR,chm.file\shell\open\command,,2,"%11%\hh.exe %1"
+HKCR,cplfile\shell\cplopen,,2,"Open with Control Panel"
+HKCR,cplfile\shell\cplopen\command,,2,"rundll32.exe shell32.dll,Control_RunDLL ""%1"",%*"
 HKCR,exefile\DefaultIcon,,2,"%1"
 HKCR,exefile\shell\open\command,,2,"""%1"" %*"
 HKCR,folder\shell\open\ddeexec,,2,"[ViewFolder("%l", %I, %S)]"




More information about the wine-cvs mailing list