SECEditBlockBuffer::CountLineEndsInBuffer

int SECEditBlockBuffer::CountLineEndsInBuffer(LPCTSTR lpszText, int nLength, int* pLastLineLength)

Counts the number of line ends in the current buffer.

Defined in: SECEditBlockBuffer.cpp

Return Value

Returns the count of the number of line ends found.

Parameters

lpszText

Points to the starting point in the buffer to search.

nLength

Number of characters to search through.

pLastLineLength

Points to the length of the last line searched to be returned.

See Also

SECEditBlockBuffer