gdiplus: Stub implementation of GdipGetImageDecoders and GdipGetImageDecodersSize.

This commit is contained in:
John Klehm 2008-09-12 19:40:28 -05:00 committed by Alexandre Julliard
parent 91e33020f0
commit 294c160c36
2 changed files with 31 additions and 2 deletions

View File

@ -281,8 +281,8 @@
@ stub GdipGetHemfFromMetafile
@ stub GdipGetImageAttributesAdjustedPalette
@ stdcall GdipGetImageBounds(ptr ptr ptr)
@ stub GdipGetImageDecoders
@ stub GdipGetImageDecodersSize
@ stdcall GdipGetImageDecoders(long long ptr)
@ stdcall GdipGetImageDecodersSize(ptr ptr)
@ stdcall GdipGetImageDimension(ptr ptr ptr)
@ stdcall GdipGetImageEncoders(long long ptr)
@ stdcall GdipGetImageEncodersSize(ptr ptr)

View File

@ -1276,6 +1276,35 @@ static const ImageCodecInfo codecs[NUM_ENCODERS_SUPPORTED] =
},
};
/*****************************************************************************
* GdipGetImageDecodersSize [GDIPLUS.@]
*/
GpStatus WINGDIPAPI GdipGetImageDecodersSize(UINT *numDecoders, UINT *size)
{
FIXME("%p %p stub!\n", numDecoders, size);
if (!numDecoders || !size)
return InvalidParameter;
*numDecoders = 0;
*size = 0;
return Ok;
}
/*****************************************************************************
* GdipGetImageDecoders [GDIPLUS.@]
*/
GpStatus WINGDIPAPI GdipGetImageDecoders(UINT numDecoders, UINT size, ImageCodecInfo *decoders)
{
FIXME("%u %u %p stub!\n", numDecoders, size, decoders);
if (!decoders)
return GenericError;
return NotImplemented;
}
/*****************************************************************************
* GdipGetImageEncodersSize [GDIPLUS.@]
*/