ieframe: Use SHANDLE_PTR in IWebBrowserApp::get_HWND.
This commit is contained in:
parent
3799d55d9b
commit
186d8553c1
|
@ -355,7 +355,7 @@ static HRESULT WINAPI InternetExplorer_get_Name(IWebBrowser2 *iface, BSTR *Name)
|
|||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI InternetExplorer_get_HWND(IWebBrowser2 *iface, LONG *pHWND)
|
||||
static HRESULT WINAPI InternetExplorer_get_HWND(IWebBrowser2 *iface, SHANDLE_PTR *pHWND)
|
||||
{
|
||||
InternetExplorer *This = impl_from_IWebBrowser2(iface);
|
||||
FIXME("(%p)->(%p)\n", This, pHWND);
|
||||
|
|
|
@ -2052,7 +2052,7 @@ static void test_ie_funcs(IWebBrowser2 *wb)
|
|||
IDispatch *disp;
|
||||
VARIANT_BOOL b;
|
||||
int i;
|
||||
LONG hwnd;
|
||||
SHANDLE_PTR hwnd;
|
||||
HRESULT hres;
|
||||
BSTR sName;
|
||||
|
||||
|
@ -2061,7 +2061,7 @@ static void test_ie_funcs(IWebBrowser2 *wb)
|
|||
hwnd = 0xdeadbeef;
|
||||
hres = IWebBrowser2_get_HWND(wb, &hwnd);
|
||||
ok(hres == E_FAIL, "get_HWND failed: %08x, expected E_FAIL\n", hres);
|
||||
ok(hwnd == 0, "unexpected hwnd %x\n", hwnd);
|
||||
ok(hwnd == 0, "unexpected hwnd %p\n", (PVOID)hwnd);
|
||||
|
||||
/* MenuBar */
|
||||
|
||||
|
|
|
@ -565,7 +565,7 @@ static HRESULT WINAPI WebBrowser_get_Name(IWebBrowser2 *iface, BSTR *Name)
|
|||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WebBrowser_get_HWND(IWebBrowser2 *iface, LONG *pHWND)
|
||||
static HRESULT WINAPI WebBrowser_get_HWND(IWebBrowser2 *iface, SHANDLE_PTR *pHWND)
|
||||
{
|
||||
WebBrowser *This = impl_from_IWebBrowser2(iface);
|
||||
|
||||
|
|
|
@ -4455,7 +4455,7 @@ static HRESULT WINAPI WebBrowser_get_Name(IWebBrowser2 *iface, BSTR *Name)
|
|||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI WebBrowser_get_HWND(IWebBrowser2 *iface, LONG *pHWND)
|
||||
static HRESULT WINAPI WebBrowser_get_HWND(IWebBrowser2 *iface, SHANDLE_PTR *pHWND)
|
||||
{
|
||||
ok(0, "unexpected call\n");
|
||||
return E_NOTIMPL;
|
||||
|
|
|
@ -230,7 +230,7 @@ interface IWebBrowserApp : IWebBrowser
|
|||
[id(302)] HRESULT PutProperty([in] BSTR Property, [in] VARIANT vtValue);
|
||||
[id(303)] HRESULT GetProperty([in] BSTR Property, [out, retval] VARIANT *pvtValue);
|
||||
[id(0), propget] HRESULT Name([out, retval] BSTR* Name);
|
||||
[id(DISPID_HWND), propget] HRESULT HWND([out, retval] long *pHWND);
|
||||
[id(DISPID_HWND), propget] HRESULT HWND([out, retval] SHANDLE_PTR *pHWND);
|
||||
[id(400), propget] HRESULT FullName([out, retval] BSTR* FullName);
|
||||
[id(401), propget] HRESULT Path([out, retval] BSTR* Path);
|
||||
[id(402), propget] HRESULT Visible([out, retval] VARIANT_BOOL* pBool);
|
||||
|
|
Loading…
Reference in New Issue