Displays an HTML dialog box.
Syntax
HRESULT showModalDialog( BSTR dialog, VARIANT *varArgIn, VARIANT *varOptions, VARIANT *varArgOut );
Parameters
- dialog
- String (BSTR) that specifies the URL of the dialog box.
- varArgIn
- Address of a VARIANT structure that contains programmer-defined arguments to pass into the dialog box.
- varOptions
- Address of a VARIANT structure that specifies the attributes of the dialog box. For more information, see showModalDialog.
- varArgOut
- Address of a VARIANT structure that receives a return value from the dialog box. For more information, see IHTMLDialog::returnValue.
Return Value
Returns S_OK if successful, or an error code otherwise.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0