Replaces a node's current node with the new node.
Syntax
HRESULT appendChild(
IHTMLDOMNode *newchild,
IHTMLDOMNode **node
);
Parameters
- newchild
- Address of an IHTMLDOMNode interface that specifies the child node to be added.
- node
- Address of a pointer to an IHTMLDOMNode interface that specifies the node to add the child.
Return Value
Returns S_OK if successful, or an error code otherwise.