http://bugs.winehq.org/show_bug.cgi?id=15896
--- Comment #5 from Anastasius Focht focht@gmx.net 2008-12-15 13:24:50 --- Hello,
when IWebBrowser2::Navigate2() impl (dlls/shdocvw/webbrowser.c) supports VT_BSTR|VT_BYREF URL arg it would look like this:
--- snip --- ... 0009:trace:ole:ITypeInfo_fnInvoke invoking: L"Navigate2"(5) parm0: L"URL" parm1: L"Flags" parm2: L"TargetFrameName" parm3: L"PostData" parm4: L"Headers" memid is 000001f4 Param 0: tdesc.vartype 26 (ptr to VT_VARIANT) u.paramdesc.wParamFlags PARAMFLAG_FIN u.paramdesc.lpex (nil) ... 0009:trace:ole:ITypeInfo_fnInvoke changing args 0009:trace:ole:dump_Variant 0x32f4a0->{VT_BSTR|VT_BYREF,0x32f754} 0009:trace:variant:VariantCopy (0x1b0f98->(VT_EMPTY),0x32f4a0->(VT_BSTR|VT_BYREF)) 0009:trace:variant:VariantClear (0x1b0f98->(VT_EMPTY)) 0009:trace:ole:DispCallFunc (0x1b07c8, 208, 4, 10, 5, 0x1b0ffc, 0x1b0fe8, 0x32f2ac (vt=10)) 0009:trace:ole:DispCallFunc arg 0: type 16396, size 1 0009:trace:ole:dump_Variant 0x1b0f48->{VT_VARIANT|VT_BYREF,0x1b0f98} 0009:trace:ole:DispCallFunc arg 1: type 16396, size 1 0009:trace:ole:dump_Variant 0x1b0f58->{VT_VARIANT|VT_BYREF,0x1b0fa8} 0009:trace:ole:DispCallFunc arg 2: type 16396, size 1 0009:trace:ole:dump_Variant 0x1b0f68->{VT_VARIANT|VT_BYREF,0x1b0fb8} 0009:trace:ole:DispCallFunc arg 3: type 16396, size 1 0009:trace:ole:dump_Variant 0x1b0f78->{VT_VARIANT|VT_BYREF,0x1b0fc8} 0009:trace:ole:DispCallFunc arg 4: type 16396, size 1 0009:trace:ole:dump_Variant 0x1b0f88->{VT_VARIANT|VT_BYREF,0x1b0fd8} 0009:Call ntdll.RtlAllocateHeap(00110000,00000000,00000018) ret=606ca623 0009:Ret ntdll.RtlAllocateHeap() retval=001b1010 ret=606ca623 0009:trace:ole:DispCallFunc Storing arg 0 (16396 as 16396) 0009:trace:ole:DispCallFunc Storing arg 1 (16396 as 16396) 0009:trace:ole:DispCallFunc Storing arg 2 (16396 as 16396) 0009:trace:ole:DispCallFunc Storing arg 3 (16396 as 16396) 0009:trace:ole:DispCallFunc Storing arg 4 (16396 as 16396) 0009:trace:ole:_invoke Calling 0x60fdb6c0(001b07c8,001b0f98,001b0fa8,001b0fb8,001b0fc8,001b0fd8,) 0009:trace:shdocvw:WebBrowser_Navigate2 (0x1b07c8)->(0x1b0f98 0x1b0fa8 0x1b0fb8 0x1b0fc8 0x1b0fd8) 0009:trace:shdocvw:navigate_url navigating to L"http://www.cybersamurai.com/support/reg_demo.htm" 0009:fixme:shdocvw:navigate_url Unsupported args (Flags 0x1b0fa8:10; TargetFrameName 0x1b0fb8:10) 0009:trace:shdocvw:navigate_url PostData vt=10 ... --- snip ---
The next problem would be IWebBrowser2::get_Name() (returns unimpl).
Regards