EM_GETIMECOMPTEXT message

Retrieves the Input Method Editor (IME) composition text.

Parameters

wParam

The IMECOMPTEXT structure.

lParam

The buffer that receives the composition text. The size of this buffer is contained in the cb member of the wParam structure.

Return value

If successful, the return value is the number of Unicode characters copied to the buffer. Otherwise, it is zero.

Remarks

This message only takes Unicode strings.

Security Warning: Be sure to have a buffer sufficient for the size of the input. Failure to do so could cause problems for your application.

Requirements

Requirement Value
Minimum supported client
Windows XP with SP1 [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Richedit.h

See also

IMECOMPTEXT