Retrieves the document's root element.
Syntax
HRESULT get_documentElement(
IHTMLElement **p
);
Parameters
- rootElem
- Address of a pointer to an IHTMLElement interface. When returned, this is the element object that represents the document.
Return Value
Returns S_OK if successful, or an error code otherwise.