Retrieves the element or node that contains the end of a selection.
HRESULT IHTMLSelection::get_focusNode(IHTMLDOMNode **p);
- Address of a pointer to a variable of type IHTMLDOMNode interface that receives the end point of a selection.
Returns S_OK if successful, or an error value otherwise.
Returns NULL if the selection does not exist. As a selection object consists of a list of Range objects, focusNode returns the value of the IHTMLDOMRange::endContainer attribute of the last Range object in the list.