From c6f8b270134b542b022ffcab8b4f80a12a6d4bc0 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Sun, 9 Sep 2007 20:12:39 +0200 Subject: [PATCH] shdocvw: Don't use BSTR in navigate_url prototype. --- dlls/shdocvw/navigate.c | 2 +- dlls/shdocvw/shdocvw.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/shdocvw/navigate.c b/dlls/shdocvw/navigate.c index fb7168279c6..7249a85298c 100644 --- a/dlls/shdocvw/navigate.c +++ b/dlls/shdocvw/navigate.c @@ -514,7 +514,7 @@ static HRESULT bind_url_to_object(DocHost *This, LPCWSTR url, PBYTE post_data, U return hres; } -HRESULT navigate_url(DocHost *This, BSTR url, const VARIANT *Flags, +HRESULT navigate_url(DocHost *This, LPCWSTR url, const VARIANT *Flags, const VARIANT *TargetFrameName, VARIANT *PostData, VARIANT *Headers) { PBYTE post_data = NULL; diff --git a/dlls/shdocvw/shdocvw.h b/dlls/shdocvw/shdocvw.h index d4210250f3e..c499a1d1922 100644 --- a/dlls/shdocvw/shdocvw.h +++ b/dlls/shdocvw/shdocvw.h @@ -194,7 +194,7 @@ HRESULT WebBrowserV2_Create(IUnknown*,REFIID,void**); void create_doc_view_hwnd(DocHost*); void deactivate_document(DocHost*); void call_sink(ConnectionPoint*,DISPID,DISPPARAMS*); -HRESULT navigate_url(DocHost*,BSTR,const VARIANT*,const VARIANT*,VARIANT*,VARIANT*); +HRESULT navigate_url(DocHost*,LPCWSTR,const VARIANT*,const VARIANT*,VARIANT*,VARIANT*); HRESULT InternetExplorer_Create(IUnknown*,REFIID,void**); void InternetExplorer_WebBrowser_Init(InternetExplorer*);