Jacek Caban : shdocvw: Register CLSID_InternetShortcut.
Alexandre Julliard
julliard at winehq.org
Mon Nov 19 08:19:42 CST 2007
Module: wine
Branch: master
Commit: b992b5751cc9d6f949d7e31df8be875e9674bb40
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b992b5751cc9d6f949d7e31df8be875e9674bb40
Author: Jacek Caban <jacek at codeweavers.com>
Date: Sat Nov 17 20:02:50 2007 +0100
shdocvw: Register CLSID_InternetShortcut.
---
dlls/shdocvw/factory.c | 6 ++++--
dlls/shdocvw/shdocvw.inf | 14 ++++++++++++++
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/dlls/shdocvw/factory.c b/dlls/shdocvw/factory.c
index e13f2ac..c8bb511 100644
--- a/dlls/shdocvw/factory.c
+++ b/dlls/shdocvw/factory.c
@@ -24,6 +24,7 @@
#include "shdocvw.h"
#include "winreg.h"
#include "advpub.h"
+#include "isguids.h"
#include "wine/debug.h"
@@ -206,14 +207,15 @@ static const GUID CLSID_MruLongList =
static HRESULT register_server(BOOL doregister)
{
STRTABLEA strtable;
- STRENTRYA pse[13];
- static CLSID const *clsids[13];
+ STRENTRYA pse[14];
+ static CLSID const *clsids[14];
int i = 0;
HRESULT hres;
INF_SET_CLSID(CUrlHistory);
INF_SET_CLSID(Internet);
INF_SET_CLSID(InternetExplorer);
+ INF_SET_CLSID(InternetShortcut);
INF_SET_CLSID(MicrosoftBrowserArchitecture);
INF_SET_CLSID(MruLongList);
INF_SET_CLSID(SearchAssistantOC);
diff --git a/dlls/shdocvw/shdocvw.inf b/dlls/shdocvw/shdocvw.inf
index 91de9ee..fd40df3 100644
--- a/dlls/shdocvw/shdocvw.inf
+++ b/dlls/shdocvw/shdocvw.inf
@@ -108,6 +108,20 @@ HKCR,"CLSID\%CLSID_WebBrowser_V1%\VersionIndependentProgID",,,"Shell.Explorer"
HKCR,"Shell.Explorer.1",,,""
HKCR,"Shell.Explorer.1\CLSID",,,"%CLSID_WebBrowser_V1%"
+HKCR,"CLSID\%CLSID_InternetShortcut%",,,"Internet Shortcut"
+HKCR,"CLSID\%CLSID_InternetShortcut%\InProcServer32",,,"%MODULE%"
+HKCR,"CLSID\%CLSID_InternetShortcut%\InProcServer32","ThreadingModel",,"Apartment"
+HKCR,"CLSID\%CLSID_InternetShortcut%\ProgID",,,"InternetShortcut"
+HKCR,"CLSID\%CLSID_InternetShortcut%\shellex\MayChangeDefaultMenu",,,
+HKCR,"InternetShortcut",,,"Internet Shortcut"
+HKCR,"InternetShortcut","EditFlags",2,"2"
+HKCR,"InternetShortcut","IsShortcut",,
+HKCR,"InternetShortcut","NeverShowExt",,
+HKCR,"InternetShortcut\CLSID",,,"%CLSID_InteretShortcut%"
+HKCR,"InternetShortcut\DefaultIcon",,,"url.dll,0"
+HKCR,"InternetShortcut\shell\open\command",,,"rundll32.exe shdocvw.dll,OpenURL %l"
+HKCR,"InternetShortcut\shell\print\command",,,rundll32.exe mshtml.dll,PrintHTML \"%1\""
+HKCR,"InternetShortcut\shell\printto\command",,,"rundll32.exe mshtml.dll,PrintHTML \"%1\" \"%2\" \"%3\" \"%4\""
[IE.Reg]
HKLM,"Software\Microsoft\Internet Explorer","Version",,"6.0.2900.2180"
More information about the wine-cvs
mailing list