CX_EnumEncodeFormats function

Callback function that returns an array of the formats into which formats may be encoded.

Syntax

typedef int(__stdcall *PF_CX_EnumEncodeFormats) 
(
   int* pnFormats,
   IE_FormatInfo** pfi
);

Parameters

pnFormats

Type: int*

[out] number of formats.

pfi

Type: IE_FormatInfo**

[out] array of format information for each supported encode format.

Return Value

For a description of return values, see Return Values.

Remarks

This is a callback function that the plug-in can use to retrieve an array of formats for which images may be encoded into. Pass NULL for pfi to just get the number of formats. This function returns an IEP status code instead of a CXP status code.

Requirements

Header: CX_PlugIn.h

See also: