CX_EncodeParamsDlg function

Callback function that shows a dialog box allowing the user to adjust encoding parameters for a specified format.

Syntax

typedef int(__stdcall *PF_CX_EncodeParamsDlg) 
(
   HWND hwndParent,
   DWORD dwFormatId,
   IE_EncodeParams* pep
);

Parameters

hwndParent

Type: HWND

[in] handle to the parent dialog, if any.

dwFormatId

Type: DWORD

[in] format ID of the image format to display the encode parameters dialog for.

pep

Type: IE_EncodeParams*

[i/o] encoding parameters as selected by the user. The plug-in can persist these from run to run. The plug-in can pass them into CX_EncodeParamsDlg so that the user's choices are saved.

Return Value

For a description of return values, see Return Values.

Remarks

This is a callback function that the plug-in can use to show a dialog box allowing the user to adjust encoding parameters for the specified format. This function returns an IEP status code instead of a CXP status code.

Requirements

Header: CX_PlugIn.h

See also: