mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 04:54:46 +00:00
gdiplus: Implemented GdipGetImageType.
This commit is contained in:
parent
460f01b320
commit
55c77d46c6
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue