Plug-in Reference — Inline Functions — Editor_GetStatusA

# Editor_GetStatusA

Retrieves the ANSI text displayed on the status bar. You can use this inline function or explicitly send the EE_GET_STATUSA message.

Editor_GetStatusA( HWND hwnd, LPSTR szStatus, UINT nBufSize );

## Parameters

hwnd

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

nBufSize

Specifies the size of buffer in characters to retrieve the string, including the terminating null character. You can specify 0 if szStatus is NULL. If the buffer size is not enough, szStatus will retrieve no string.

szStatus

Specifies the buffer to retrieve the string. If NULL is specified, returns the size of the buffer enough to retrieve the string.

## Return Values

Returns the size of the buffer in characters enough to retrieve the string including the terminating null character.