From: Joachim Henze Date: Sat, 1 Jun 2019 20:53:16 +0000 (+0200) Subject: [MSHTML] Fake Success in HTMLDocument_put_bgColor() X-Git-Tag: 0.4.14-dev~899 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=bc3eed68ca1f4c5aa66ceaca4fc8ae405714699e [MSHTML] Fake Success in HTMLDocument_put_bgColor() This avoids at startup of Instant Messenger "QIP 2005 8095" a message-box with "OLE Error 8004001". The issue is a subtask of CORE-11537 Many Thanks to the patches author Andreas Maier JIRA-nick: andy-123 Note you still need to install Gecko 2.40 and Samba 1.3 from rapps for QIP. --- diff --git a/dll/win32/mshtml/htmldoc.c b/dll/win32/mshtml/htmldoc.c index b7eea81a469..5142e194c6d 100644 --- a/dll/win32/mshtml/htmldoc.c +++ b/dll/win32/mshtml/htmldoc.c @@ -658,7 +658,11 @@ static HRESULT WINAPI HTMLDocument_put_bgColor(IHTMLDocument2 *iface, VARIANT v) { HTMLDocument *This = impl_from_IHTMLDocument2(iface); FIXME("(%p)->(%s)\n", This, debugstr_variant(&v)); +#ifdef __REACTOS__ + return S_OK; +#else return E_NOTIMPL; +#endif } static HRESULT WINAPI HTMLDocument_get_bgColor(IHTMLDocument2 *iface, VARIANT *p)