Retrieves an interface pointer that provides access to the parent object's document interface.
Syntax
HRESULT get_parentDocument(
IHTMLDocument3 **p
);
Parameters
- p
- Address of a pointer to an IHTMLDocument3 interface of the parent object. The variable receives NULL if the current object is the top-most object.
Return Value
Returns S_OK if successful, or an error code otherwise.