diff --git a/dlls/shdocvw/factory.c b/dlls/shdocvw/factory.c index e13f2acdce..c8bb51190b 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 91de9ee14b..fd40df3aa5 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"