[PATCH 3/5] d2d1: Fix the ID2D1Factory::CreatePathGeometry() declaration.

Henri Verbeet hverbeet at codeweavers.com
Mon Jun 15 07:07:34 CDT 2015


---
 dlls/d2d1/factory.c | 2 +-
 include/d2d1.idl    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/d2d1/factory.c b/dlls/d2d1/factory.c
index 918fa13..d276b30 100644
--- a/dlls/d2d1/factory.c
+++ b/dlls/d2d1/factory.c
@@ -134,7 +134,7 @@ static HRESULT STDMETHODCALLTYPE d2d_factory_CreateTransformedGeometry(ID2D1Fact
     return E_NOTIMPL;
 }
 
-static HRESULT STDMETHODCALLTYPE d2d_factory_CreatePathGeometry(ID2D1Factory *iface, ID2D1PathGeometry *geometry)
+static HRESULT STDMETHODCALLTYPE d2d_factory_CreatePathGeometry(ID2D1Factory *iface, ID2D1PathGeometry **geometry)
 {
     FIXME("iface %p, geometry %p stub!\n", iface, geometry);
 
diff --git a/include/d2d1.idl b/include/d2d1.idl
index 1623e46..d62a498 100644
--- a/include/d2d1.idl
+++ b/include/d2d1.idl
@@ -1216,7 +1216,7 @@ interface ID2D1Factory : IUnknown
         [out] ID2D1TransformedGeometry **transformed_geometry
     );
     HRESULT CreatePathGeometry(
-        [out] ID2D1PathGeometry *geometry
+        [out] ID2D1PathGeometry **geometry
     );
     HRESULT CreateStrokeStyle(
         [in] const D2D1_STROKE_STYLE_PROPERTIES *desc,
-- 
2.1.4




More information about the wine-patches mailing list