Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

The EM_GETINPUTMODEmessage 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; TRUEto return the actual input mode when the control has focus and FALSEto 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