SaveWBViaCache
HRESULTSaveWBViaCache(IWebBrowser2*pWebBrowser, BSTRbstrFile, BSTRbstrDir, intnType)Will provide you a copy of the corresponding html file stored in the cache.
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
Use any of the following enumerations