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


Reply via email to