Module: wine Branch: master Commit: 55c77d46c6ab333daf3349132168dda52f88cfa8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=55c77d46c6ab333daf33491321...
Author: Evan Stade estade@gmail.com Date: Mon Jul 30 19:09:49 2007 -0700
gdiplus: Implemented GdipGetImageType.
---
dlls/gdiplus/image.c | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c index b9c0abb..849b1b4 100644 --- a/dlls/gdiplus/image.c +++ b/dlls/gdiplus/image.c @@ -97,15 +97,13 @@ GpStatus WINGDIPAPI GdipGetImageRawFormat(GpImage *image, GUID *format)
GpStatus WINGDIPAPI GdipGetImageType(GpImage *image, ImageType *type) { - static int calls; - if(!image || !type) return InvalidParameter;
- if(!(calls++)) - FIXME("not implemented\n"); + /* FIXME: get correct image type. */ + *type = ImageTypeUnknown;
- return NotImplemented; + return Ok; }
GpStatus WINGDIPAPI GdipGetImageVerticalResolution(GpImage *image, REAL *res)