EmEditor Home - EmEditor Help - Plug-in Reference - Inline Functions

Editor_GetLineW

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

Editor_GetLineW( HWND hwnd, GET_LINE_INFO* pGetLineInfo, LPWSTR szString );

Parameters

hwnd

Specifies the window handle of the view or frame of EmEditor.

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.

Copyright 2003-2014 by Emurasoft, Inc.