IE_GetValidPixelFormats function

Function to retrieve an enumeration of all pixel formats supported by the specified format and encoding parameters.

Syntax

PLUGIN_API int __stdcall IE_GetValidPixelFormats
(
   DWORD dwFormatID,
   IE_EncodeParams* pEP,
   int* pnPixFormats,
   DWORD* pPixFormats
);

Parameters

dwFormatID

Type: DWORD

[in] ID of format to get PixFormats for

pEP

Type: IE_EncodeParams*

[in] Encoding parameters

pnPixFormats

Type: int*

[i/o] On entry, size of pPixFormats array. On exit, number of pixel valid formats.

pPixFormats

Type: DWORD*

[out] Array of valid pixel formats

Return Value

For a description of return values, see Return Values.

Remarks

The host application owns the memory pointed to by pPixFormats. The plug-in should return up to pnPixFormats valid pixel formats in pPixFormats.

Requirements

Header: IE_PlugIn.h

See also: