Share via


EM_GETINPUTMODE (Compact 7)

3/12/2014

The EM_GETINPUTMODE message gets the default input mode or the actual input mode. In Windows Embedded Compact 7, you should use the InputScope enumeration and Input Scope Functions instead.

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

See Also

Reference

Input Scope Messages
EM_SETINPUTMODE