Louis Lenders : gdiplus: Return zero properties in stubbed GdipGetPropertyCount.

Alexandre Julliard julliard at winehq.org
Thu Oct 6 17:24:31 CDT 2011


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

Author: Louis Lenders <xerox_xerox2000 at yahoo.co.uk>
Date:   Thu Oct  6 20:45:26 2011 +0200

gdiplus: Return zero properties in stubbed GdipGetPropertyCount.

---

 dlls/gdiplus/image.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c
index ce14ef6..0e3848f 100644
--- a/dlls/gdiplus/image.c
+++ b/dlls/gdiplus/image.c
@@ -2399,7 +2399,8 @@ GpStatus WINGDIPAPI GdipGetPropertyCount(GpImage *image, UINT* num)
     if(!(calls++))
         FIXME("not implemented\n");
 
-    return InvalidParameter;
+    *num = 0;
+    return Ok;
 }
 
 GpStatus WINGDIPAPI GdipGetPropertyIdList(GpImage *image, UINT num, PROPID* list)




More information about the wine-cvs mailing list