Creates a duplicate of an element.
Syntax
HRESULT CloneElement( IHTMLElement *pElemCloneThis, IHTMLElement **ppElementTheClone );
Parameters
- pElemCloneThis
- Address of an IHTMLElement interface that returns the element to clone.
- ppElementTheClone
- Address of a pointer to an IHTMLElement interface that returns the newly created element.
Return Value
Returns S_OK if successful, or an error code otherwise.
See Also
CreateElement