Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 1.31 KB

File metadata and controls

58 lines (39 loc) · 1.31 KB

Home

Function name : GdipGetImageEncoders

Group: GDI+ - Library: gdiplus


The GetImageEncoders function gets an array of ImageCodecInfo objects that contain information about the available image encoders.


Code examples:

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

Declaration:

Status GetImageEncoders(
	UINT numEncoders,
	UINT size,
	ImageCodecInfo *encoders
);  

FoxPro declaration:

DECLARE INTEGER GdipGetImageEncoders IN gdiplus;
	INTEGER   numEncoders,;
	INTEGER   sze,;
	STRING  @ encoders
  

Parameters:

numEncoders [in] Integer that specifies the number of available image encoders.

size [in] Integer that specifies the size, in bytes, of the array of ImageCodecInfo objects.

encoders [out] Pointer to a buffer that receives the array of ImageCodecInfo objects.


Return value:

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


Comments:

Prior to calling this function call GdipGetImageEncodersSize to determine numEncoders and size parameters.