[PATCH] d2d1: Fix CreateGeometryGroup() prototype

Nikolay Sivov nsivov at codeweavers.com
Fri Nov 4 12:04:23 CDT 2016


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 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
     );
-- 
2.10.1




More information about the wine-patches mailing list