Nikolay Sivov : d2d1: Fix CreateGeometryGroup() prototype.

Alexandre Julliard julliard at winehq.org
Mon Nov 7 13:44:00 CST 2016


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Fri Nov  4 20:04:23 2016 +0300

d2d1: Fix CreateGeometryGroup() prototype.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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

diff --git a/dlls/d2d1/factory.c b/dlls/d2d1/factory.c
index b83d221..6de0271 100644
--- a/dlls/d2d1/factory.c
+++ b/dlls/d2d1/factory.c
@@ -163,10 +163,10 @@ static HRESULT STDMETHODCALLTYPE d2d_factory_CreateEllipseGeometry(ID2D1Factory
 }
 
 static HRESULT STDMETHODCALLTYPE d2d_factory_CreateGeometryGroup(ID2D1Factory *iface,
-        D2D1_FILL_MODE fill_mode, ID2D1Geometry *geometry, UINT32 geometry_count, ID2D1GeometryGroup **group)
+        D2D1_FILL_MODE fill_mode, ID2D1Geometry **geometries, UINT32 geometry_count, ID2D1GeometryGroup **group)
 {
-    FIXME("iface %p, fill_mode %#x, geometry %p, geometry_count %u, group %p stub!\n",
-            iface, fill_mode, geometry, geometry_count, group);
+    FIXME("iface %p, fill_mode %#x, geometries %p, geometry_count %u, group %p stub!\n",
+            iface, fill_mode, geometries, geometry_count, group);
 
     return E_NOTIMPL;
 }
diff --git a/include/d2d1.idl b/include/d2d1.idl
index cb07cfa..4a0b2ce 100644
--- a/include/d2d1.idl
+++ b/include/d2d1.idl
@@ -1206,7 +1206,7 @@ interface ID2D1Factory : IUnknown
     );
     HRESULT CreateGeometryGroup(
         [in] D2D1_FILL_MODE fill_mode,
-        [in, size_is(geometry_count)] ID2D1Geometry *geometry,
+        [in, size_is(geometry_count)] ID2D1Geometry **geometries,
         [in] UINT32 geometry_count,
         [out] ID2D1GeometryGroup **group
     );




More information about the wine-cvs mailing list