An application sends the IMC_SETSENTENCEMODE message to an IME window to set the current sentence mode.
msg = (UINT) WM_IME_CONTROL;wParam = (WPARAM) IMC_SETSENTENCEMODE;lParam = 0;
Returns zero if successful, nonzero otherwise.