shdocvw: implement IWebBrowser2::get_LocationName
Jacek Caban
jacek at codeweavers.com
Mon May 10 06:02:17 CDT 2010
Hi Andrey,
On 5/9/10 9:30 PM, Andrey Turkin wrote:
> ---
> dlls/shdocvw/tests/webbrowser.c | 27 ++++++++++++++++++++++++---
> dlls/shdocvw/webbrowser.c | 24 ++++++++++++++++++++++--
> 2 files changed, 46 insertions(+), 5 deletions(-)
+ if (This->doc_host.document&& SUCCEEDED(IUnknown_QueryInterface(
+ This->doc_host.document,&IID_IHTMLDocument2, (void**)&doc))) {
+ hres = IHTMLDocument2_get_title(doc, LocationName);
+ IHTMLDocument2_Release(doc);
There is no reason to make this MSHTML-specific by using IHTMLDocument2
here.
Jacek
More information about the wine-devel
mailing list