Henri Verbeet : d2d1: Fix the ID2D1Factory::CreatePathGeometry() declaration.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jun 15 08:49:10 CDT 2015


Module: wine
Branch: master
Commit: 7e8c88fa1ed2c81e04b14e20c2a3070f55b1aa59
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7e8c88fa1ed2c81e04b14e20c2a3070f55b1aa59

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Mon Jun 15 14:07:34 2015 +0200

d2d1: Fix the ID2D1Factory::CreatePathGeometry() declaration.

---

 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,




More information about the wine-cvs mailing list