Inserts text at the given pointer.
Syntax
HRESULT InsertText(
OLECHAR *pchText,
long cch,
IMarkupPointer *pPointerTarget
);
Parameters
- pchText
- Address of an OLECHAR structure that specifies the text to insert.
- long cch
- Address of a long variable that specifies the number of characters to insert.
- pPointerTarget
- Address of an IMarkupPointer interface that specifies where to insert the text.
Return Value
Returns S_OK if successful, or an error code otherwise.
See Also
InsertElement