Retrieves the document object.
HRESULT GetDocument(
   IHTMLDocument2** ppDoc 
) const;
Parameters
- ppDoc
The document object. 
Return Value
Returns S_OK on success, or an error HRESULT on failure.
Requirements
Header: afxhtml.h
Retrieves the document object.
HRESULT GetDocument(
   IHTMLDocument2** ppDoc 
) const;
Returns S_OK on success, or an error HRESULT on failure.
Header: afxhtml.h