SaveWBViaCache

HRESULTSaveWBViaCache(IWebBrowser2*pWebBrowser, BSTRbstrFile, BSTRbstrDir, intnType)

Will retrieve the HTML (with scripts expanded) as rendered by the Web Browser control.

Defined in: WBUtilFuncs.h

Return Value

Returns S_OK if successful or the Error Code.

Parameters

pWebBrowser

A reference to the Web Browser control.

bstrFile

The file into which the retrieved HTML is stored.

bstrDir

The directory path into which the files corresponding to the embedded links are stored.

nType

@xref HTML retrieval type