Moves the pointer adjacent to an element.
Syntax
HRESULT MoveAdjacentToElement(
IHTMLElement *pElement,
ELEMENT_ADJACENCY eAdj
);
Parameters
- pElement
- Address of an IHTMLElement interface to which the pointer is moved.
- eAdj
- ELEMENT_ADJACENCY enumerated type that specifies the position of the pointer relative to the container.
Return Value
Returns S_OK if successful, or an error code otherwise.