SaveWebOCIntoStream

HRESULTSaveWebOCIntoStream(IWebBrowser2*pWebBrowser, IStream*&pStream)

Stores the HTML in the Web Browser document into an IStream instance. Used by SaveWBViaIPersistFile

Defined in: WBUtilFuncs.h

Return Value

Returns S_OK if successful or the Error Code.

Parameters

pWebBrowser

A reference to the Web Browser control.

pStream

The IStream instance into which the retrieved HTML is stored.