Defines the function type for ShowHTMLDialog.
Syntax
typedef HRESULT STDAPICALLTYPE SHOWHTMLDIALOGFN( HWND hwndParent, IMoniker *pMk, VARIANT *pvarArgIn, TCHAR* pchOptions, VARIANT *pvarArgOut );
Parameters
- hwndParent
- Handle to the window that will be the owner of the dialog box. This window will be disabled for the life of the dialog box. If this value is NULL, the dialog box is not owned.
- pMk
- Address of an IMoniker interface that identifies the source of the HTML that will be contained in the dialog box.
- pvarArgIn
- Address of a VARIANT structure that contains the input data for the dialog box. The data passed in this VARIANT is placed in the window object's dialogArguments property. This parameter can be NULL.
- pchOptions
- Window ornaments for the dialog box. This parameter can be NULL or the address of a string that contains a combination of values, each separated by a semicolon (;). See the description of the features parameter of the showModalDialog method of the window object for detailed information.
- pvarArgOut
- Address of a VARIANT structure that contains the output data for the dialog box. This VARIANT receives the data that was placed in the window object's returnValue property. This parameter can be NULL.
Remarks
This function creates a modal dialog box that contains HTML. The function does not return until the dialog box has been dismissed. The address of this function must be obtained by loading Mshtml.dll with LoadLibrary and then retrieving the address of ShowHTMLDialog with GetProcAddress.
See Also