EE_GET_LINEW

Retrieves the Unicode text on the specified line. You can send this message explicitly or use the Editor_GetLineW inline function.

EE_GET_LINEW
wParam = (WPARAM) (GET_LINE_INFO*) pGetLineInfo;
lParam = (LPARAM) (LPWSTR) szString;

Parameters

pGetLineInfo

Pointer to the GET_LINE_INFO structure.

szString

Pointer to the buffer that will receive the text.

Return Values

If pGetLineInfo->cch is zero, the return value is the required size, in words, for a buffer that can receive the text. If pGetLineInfo->cch is not zero, the return value is not used.