Group: GDI+ - Library: gdiplus
The GetImageEncodersSize function gets the number of available image encoders and the total size of the array of ImageCodecInfo objects that is returned by the GetImageEncoders function.
GDI+: retrieving list of available image encoders and image decoders
Status GetImageEncodersSize(
UINT *numEncoders,
UINT *size
);
DECLARE INTEGER GdipGetImageEncodersSize IN gdiplus;
INTEGER @ numEncoders,;
INTEGER @ sze
numEncoders [out] Pointer to a UINT that receives the number of available image encoders.
size [out] Pointer to a UINT that receives the total size, in bytes, of the array of ImageCodecInfo objects that is returned by GetImageEncoders.
If the function succeeds, it returns Ok (0), which is an element of the Status enumeration.