Module: wine Branch: master Commit: 909744a28d75c8dab254420382bb7310e21b3fec URL: http://source.winehq.org/git/wine.git/?a=commit;h=909744a28d75c8dab254420382...
Author: Jacek Caban jacek@codeweavers.com Date: Sat Nov 17 20:03:20 2007 +0100
shdocvw: Set default home and search page.
---
dlls/hlink/tests/hlink.c | 4 ---- dlls/shdocvw/shdocvw.inf | 12 +++++++++--- 2 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/dlls/hlink/tests/hlink.c b/dlls/hlink/tests/hlink.c index 4d3a3e2..2eb63dd 100644 --- a/dlls/hlink/tests/hlink.c +++ b/dlls/hlink/tests/hlink.c @@ -322,16 +322,12 @@ static void test_special_reference(void) HRESULT hres;
hres = HlinkGetSpecialReference(HLSR_HOME, &ref); - todo_wine ok(hres == S_OK, "HlinkGetSpecialReference(HLSR_HOME) failed: %08x\n", hres); - todo_wine ok(ref != NULL, "ref == NULL\n"); CoTaskMemFree(ref);
hres = HlinkGetSpecialReference(HLSR_SEARCHPAGE, &ref); - todo_wine ok(hres == S_OK, "HlinkGetSpecialReference(HLSR_SEARCHPAGE) failed: %08x\n", hres); - todo_wine ok(ref != NULL, "ref == NULL\n"); CoTaskMemFree(ref);
diff --git a/dlls/shdocvw/shdocvw.inf b/dlls/shdocvw/shdocvw.inf index fd40df3..9c38a55 100644 --- a/dlls/shdocvw/shdocvw.inf +++ b/dlls/shdocvw/shdocvw.inf @@ -3,11 +3,11 @@ Signature="$CHICAGO$"
[RegisterDll] -AddReg=Classes.Reg +AddReg=Classes.Reg, Settings.Reg
[UnregisterDll] -DelReg=Classes.Reg +DelReg=Classes.Reg, Settings.Reg
[RegisterIE] @@ -120,9 +120,15 @@ 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\print\command",,,"rundll32.exe mshtml.dll,PrintHTML "%1"" HKCR,"InternetShortcut\shell\printto\command",,,"rundll32.exe mshtml.dll,PrintHTML "%1" "%2" "%3" "%4""
+ +[Settings.Reg] +HKCU,"Software\Microsoft\Internet Explorer\Main","Start Page",,"http://www.winehq.org" +HKCU,"Software\Microsoft\Internet Explorer\Main","Search Page",,"http://www.google.com" + + [IE.Reg] HKLM,"Software\Microsoft\Internet Explorer","Version",,"6.0.2900.2180"