Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.16 KB

GdipGetImageEncodersSize.md

File metadata and controls

48 lines (32 loc) · 1.16 KB

Home

Function name : GdipGetImageEncodersSize

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.


Code examples:

GDI+: retrieving list of available image encoders and image decoders

Declaration:

Status GetImageEncodersSize(
	UINT *numEncoders,
	UINT *size
);  

FoxPro declaration:

DECLARE INTEGER GdipGetImageEncodersSize IN gdiplus;
	INTEGER @ numEncoders,;
	INTEGER @ sze
  

Parameters:

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.


Return value:

If the function succeeds, it returns Ok (0), which is an element of the Status enumeration.