EM_GETINPUTMODE

4/8/2010

The EM_GETINPUTMODE message gets the default input mode or the actual input mode.

Syntax

EM_GETINPUTMODE
    wParam = (WPARAM) res;
    lParam = (LPARAM) (BOOL) fCurrentMode

Parameters

  • res
    This parameter is reserved for future use; the value of this parameter must be set to 0.
  • fCurrentMode
    Boolean value; TRUE to return the actual input mode when the control has focus and FALSE to return the default input mode.

    The actual input mode may be different from the default input mode when the control has focus and the user changed modes.

Return Value

Returns one of the EIM_* values OR'd with EIMMF_* on success or returns -1 on failure.

Requirements

Header windowsm.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Smartphone for Windows Mobile 2003 and later

See Also

Reference

EM_SETINPUTMODE