https://git.reactos.org/?p=reactos.git;a=commitdiff;h=bc3eed68ca1f4c5aa66ceaca4fc8ae405714699e

commit bc3eed68ca1f4c5aa66ceaca4fc8ae405714699e
Author:     Joachim Henze <[email protected]>
AuthorDate: Sat Jun 1 22:53:16 2019 +0200
Commit:     Joachim Henze <[email protected]>
CommitDate: Sat Jun 1 22:53:16 2019 +0200

    [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 <[email protected]>
    JIRA-nick: andy-123
    
    Note you still need to install Gecko 2.40 and Samba 1.3 from rapps for QIP.
---
 dll/win32/mshtml/htmldoc.c | 4 ++++
 1 file changed, 4 insertions(+)

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)

Reply via email to