Plug-in Reference — Inline Functions — Editor_GetActiveString

# Editor_GetActiveString

Retrieves the active string. You can use this inline function or explicitly send the EE_GET_ACTIVE_STRING message.

Editor_GetActiveString( HWND hwnd, ACTIVE_STRING_INFO* pInfo );

## Parameters

hwnd

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

pTipInfo

Pointer to the ACTIVE_STRING_INFO structure.

## Return Values

Returns the size of the buffer in characters needed to retrieve the active string including the terminating NULL character.

## Version

Supported on Version 16.9 or later.