SaveWBViaCache

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

Will retrieve the HTML from the document with the latest updates made to the document.

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