Retrieves the document associated with this container.
Syntax
HRESULT OwningDoc( IHTMLDocument2 **ppDoc );
Parameters
- ppDoc
- Address of the IHTMLDocument2 pointer associated with this container.
Return Value
Returns S_OK if successful, or an error code otherwise.