From 7a8866b347f0604d40ec7579921ac197f695120f Mon Sep 17 00:00:00 2001 From: Evan Stade Date: Tue, 31 Jul 2007 19:15:33 -0700 Subject: [PATCH] gdiplus: Added GdipFindFirstImageItem stub. --- dlls/gdiplus/gdiplus.spec | 2 +- dlls/gdiplus/image.c | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec index dc7633c69ae..8dd2e2aaa89 100644 --- a/dlls/gdiplus/gdiplus.spec +++ b/dlls/gdiplus/gdiplus.spec @@ -231,7 +231,7 @@ @ stub GdipFillRectangles @ stub GdipFillRectanglesI @ stub GdipFillRegion -@ stub GdipFindFirstImageItem +@ stdcall GdipFindFirstImageItem(ptr ptr) @ stub GdipFindNextImageItem @ stub GdipFlattenPath @ stub GdipFlush diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c index 46b33578de0..ba5a23e859e 100644 --- a/dlls/gdiplus/image.c +++ b/dlls/gdiplus/image.c @@ -31,6 +31,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(gdiplus); +typedef void ImageItemData; + GpStatus WINGDIPAPI GdipDisposeImage(GpImage *image) { if(!image) @@ -42,6 +44,14 @@ GpStatus WINGDIPAPI GdipDisposeImage(GpImage *image) return Ok; } +GpStatus WINGDIPAPI GdipFindFirstImageItem(GpImage *image, ImageItemData* item) +{ + if(!image || !item) + return InvalidParameter; + + return NotImplemented; +} + GpStatus WINGDIPAPI GdipGetImageBounds(GpImage *image, GpRectF *srcRect, GpUnit *srcUnit) {