Plug-in Reference — Inline Functions — Editor_GetUnicodeName

# Editor_GetUnicodeName

Retrieves the Unicode name of the specified character or string. You can use this inline function or explicitly send the EE_GET_UNICODE_NAME message.

int Editor_GetUnicodeName( HWND hwnd, LPWSTR pBuf, int cchBuf, LPCWSTR pstrSrc, int cchSrc );

## Parameters

hwnd

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

pBuf

Specifies the pointer to the buffer to retrieve the Unicode name.

cchBuf

Specifies the size of the buffer in characters including the terminating NULL.

pstrSrc

Specifies the source character or string.

cchSrc

Specifies the number of characters specified in pstrSrc.

## Return Values

If cchBuf field of the UNICODE_NAME_INFO structure is zero, the return value is the required size, in characters, for a buffer that can receive the text.

## Version

Supported on Version 19.1 or later.