An application sends the IMC_GETSENTENCEMODE message to an IME window to obtain current sentence mode.
msg = (UINT) WM_IME_CONTROL;
wParam = (WPARAM) IMC_GETSENTENCEMODE;
lParam = 0;
Returns a combination of the values specified in the "IME Sentence Modes" table in Input Method Editor Constants.
Windows NT: Requires version 4.0 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Input Method Editor Overview, Input Method Editor Messages