IE_ShowEncodeParamsDialog function

Function that displays a dialog box that allows the user to customize the encoding options for the specified format.

Syntax

PLUGIN_API int __stdcall IE_ShowEncodeParamsDialog
(
   DWORD dwFormatID,
   HWND hwndParent,
   IE_EncodeParams* pEP
);

Parameters

dwFormatID

Type: DWORD

[in] ID of format for which to show encoding parameters dialog

hwndParent

Type: HWND

[in] Parent window

pEP

Type: IE_EncodeParams*

[i/o] Encoding parameters

Return Value

For a description of return values, see Return Values.

Remarks

This function displays a dialog box allowing the user to customize the encoding options for the specified format. The dialog box should be initialized to reflect the input settings of IE_EncodeParams.

If the user clicks on OK, the plug-in should change IE_EncodeParams to reflect the dialog box settings and return IEE_OK.

If the user clicks on Cancel, then the plug-in should leave, not change IE_EncodeParams, and return IEE_Cancelled.

The dialog box should include a "Save Settings" checkbox, and when the user checks it and clicks on OK, the plug-in should set the EPF_SAVESETTINGS flag in IE_EncodeParams.

Requirements

Header: IE_PlugIn.h

See also: