[PATCH 1/2] d2d1: Return S_OK from RegisterEffectFromString().

Nikolay Sivov nsivov at codeweavers.com
Thu Oct 18 08:19:27 CDT 2018


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---

These 2 patches let Office 2016 to work when ID2D1Factory1 is exposed.

 dlls/d2d1/factory.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/d2d1/factory.c b/dlls/d2d1/factory.c
index 8d9d8c324b..dea25effa9 100644
--- a/dlls/d2d1/factory.c
+++ b/dlls/d2d1/factory.c
@@ -480,7 +480,7 @@ static HRESULT STDMETHODCALLTYPE d2d_factory_RegisterEffectFromString(ID2D1Facto
     FIXME("iface %p, effect_id %s, property_xml %s, bindings %p, binding_count %u, effect_factory %p stub!\n",
             iface, debugstr_guid(effect_id), debugstr_w(property_xml), bindings, binding_count, effect_factory);
 
-    return E_NOTIMPL;
+    return S_OK;
 }
 
 static HRESULT STDMETHODCALLTYPE d2d_factory_UnregisterEffect(ID2D1Factory1 *iface, REFCLSID effect_id)
-- 
2.19.1




More information about the wine-devel mailing list