From 707a4f18f714bcbef06dfad049a658a0fc960d90 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Fri, 28 Apr 2006 20:08:02 +0200 Subject: [PATCH] shdocvw: Fix GetMiscStatus implementation. --- dlls/shdocvw/oleobject.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/dlls/shdocvw/oleobject.c b/dlls/shdocvw/oleobject.c index e3cfa4a41e2..c7a947019f4 100644 --- a/dlls/shdocvw/oleobject.c +++ b/dlls/shdocvw/oleobject.c @@ -401,14 +401,11 @@ static HRESULT WINAPI OleObject_EnumAdvise(IOleObject *iface, IEnumSTATDATA **pp static HRESULT WINAPI OleObject_GetMiscStatus(IOleObject *iface, DWORD dwAspect, DWORD *pdwStatus) { WebBrowser *This = OLEOBJ_THIS(iface); - HRESULT hres; TRACE("(%p)->(%lx, %p)\n", This, dwAspect, pdwStatus); - hres = OleRegGetMiscStatus(&CLSID_WebBrowser, dwAspect, pdwStatus); - - if (FAILED(hres)) - *pdwStatus = 0; + *pdwStatus = OLEMISC_SETCLIENTSITEFIRST|OLEMISC_ACTIVATEWHENVISIBLE|OLEMISC_INSIDEOUT + |OLEMISC_CANTLINKINSIDE|OLEMISC_RECOMPOSEONRESIZE; return S_OK; }