gdiplus: Implemented GdipGetImageType.

This commit is contained in:
Evan Stade 2007-07-30 19:09:49 -07:00 committed by Alexandre Julliard
parent 460f01b320
commit 55c77d46c6

View file

@ -97,15 +97,13 @@ GpStatus WINGDIPAPI GdipGetImageRawFormat(GpImage *image, GUID *format)
GpStatus WINGDIPAPI GdipGetImageType(GpImage *image, ImageType *type) GpStatus WINGDIPAPI GdipGetImageType(GpImage *image, ImageType *type)
{ {
static int calls;
if(!image || !type) if(!image || !type)
return InvalidParameter; return InvalidParameter;
if(!(calls++)) /* FIXME: get correct image type. */
FIXME("not implemented\n"); *type = ImageTypeUnknown;
return NotImplemented; return Ok;
} }
GpStatus WINGDIPAPI GdipGetImageVerticalResolution(GpImage *image, REAL *res) GpStatus WINGDIPAPI GdipGetImageVerticalResolution(GpImage *image, REAL *res)