shdocvw: Set default home and search page.

This commit is contained in:
Jacek Caban 2007-11-17 20:03:20 +01:00 committed by Alexandre Julliard
parent b992b5751c
commit 909744a28d
2 changed files with 9 additions and 7 deletions

View File

@ -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);

View File

@ -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"