Retrieves the ending boundary point relative to the IHTMLDOMRange::startContainer in the current range.
HRESULT IHTMLDOMRange::get_endOffset(long *p);
- Pointer to a variable of type long that receives the end offset value.
Returns one of the following values.
S_OK The operation completed successfully. W3CException_DOM_INVALID_STATE IHTMLDOMRange::detach has been invoked on the object.
If the boundary point offset is within a container that is not a character data node, the offset is a count based on where it falls between child nodes. For example, the offset is 0 if it falls before the first child, and 1 if it is between the first and second child. If the offset is within a character data node container, the value represents 16-bit unit positions.