From 8435e40874f4ece88ead85ece760b92d5065f673 Mon Sep 17 00:00:00 2001 From: Louis Lenders Date: Thu, 6 Oct 2011 20:45:26 +0200 Subject: [PATCH] gdiplus: Return zero properties in stubbed GdipGetPropertyCount. --- dlls/gdiplus/image.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c index ce14ef60b10..0e3848ff6b4 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) -- 2.11.4.GIT