Get the surrounding string of the preedit cursor.
imcontext_id The id of the IMContext.
- Parameters
-
| before_max | The maximum characters (in wstr) to fetch before the cursor. |
| before_max | The maximum characters (in wstr) to fetch after the cursor. |
| wstring | The surrounding string. |
| cursor_position | The cursor position in the preedit string gotten by this function. |
- Returns
- REVAL_FAILED when a serious error has occurred, or RETVAL_IGNORED if an timeout has happened. Otherwise it returns RETVAL_SUCCEEDED.
Referenced by ~ScimBridgeAgentClientListener().