Plug-in Reference — Inline Functions — Editor_GetCell

# Editor_GetCell

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

Editor_GetCell( HWND hwnd, GET_CELL_INFO* pGetCellInfo, LPWSTR szString );

## Parameters

hwnd

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

pGetCellInfo

Pointer to the GET_CELL_INFO structure.

szString

Pointer to the buffer that will receive the text.

## Return Values

If pGetCellInfo->cch is zero, the return value is the required size, in characters, for a buffer that can receive the text. If pGetLineInfo->cch is not zero, the return value is not used. If pGetCellInfo->iColumn is -1, the return value is the number of columns.