Platform SDK: International Features

ImmEnumInputContext

The ImmEnumInputContext function enumerates the input context based on the specified idThread.

BOOL WINAPI ImmEnumInputContext(
  DWORD idThread,
  IMCENUMPROC lpfn,
  LPARAM lParam
);

Parameters

idThread
[in] Specifies the thread identifier. This parameter can be one of the following values.
Value Meaning
0 Current thread.
–1 Current process.
Thread ID ID of the thread whose context is to be enumerated. This thread ID can belong to another process.

lpfn
[in] Pointer to the enumeration callback function. For more information, see EnumInputContext.
lParam
[in] Application-supplied data. The function passes this parameter to the callback function.

Return Values

Returns TRUE if successful; otherwise returns FALSE.

Remarks

The callback function will be called for each enumerated input context and passed the specified lParam value.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 98.
  Header: Declared in Imm.h.
  Library: Use Imm32.lib.

See Also

Input Method Editor Overview, Input Method Editor Functions, EnumInputContext