SECEditBlockBuffer::Insert

BOOLSECEditBlockBuffer::Insert(SECEditLineColPair&lcpInsertBlock, LPCTSTRlpszText, intnLength= -1)

Inserts text into the buffer. Inserts nLength TCHARs of lpszText into the buffer at the position specified, or up to a terminating NULL if nLength == -1. Places the text position following the newly inserted text into pEndLine and pEndCol.

Defined in: SECEditBlockBuffer.cpp

Return Value

Returns non-zero if successful; otherwise 0.

Parameters

lcpInsertBlock

Input/output parameter. References the position to insert the text. Upon return, also indicates the position just following the newly inserted text.

lpszText

Points to the text to be inserted.

nLength

The number of characters (TCHARS)to insert, or -1 to insert the text up to a terminating NULL.

See Also

SECEditBlockBuffer  ISECEditBuffer  ClearTextBlock  GetTextBlock