mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
gdiplus: Stub implementation of GdipGetImageDecoders and GdipGetImageDecodersSize.
This commit is contained in:
parent
91e33020f0
commit
294c160c36
@ -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)
|
||||
|
@ -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.@]
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user