Plug-in Reference — Inline Functions — Editor_GetLineA

# Editor_GetLineA

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

Editor_GetLineA( HWND hwnd, GET_LINE_INFO* pGetLineInfo, LPSTR 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 bytes, for a buffer that can receive the text. If pGetLineInfo->cch. is not zero, the return value is not used.