Platform SDK: International Features

ImmGetContext

The ImmGetContext function retrieves the input context associated with the specified window.

HIMC ImmGetContext(
  HWND hWnd  
);

Parameters

hWnd
[in] Handle to the window for which to retrieve the input context.

Return Values

Returns the handle to the input context.

Remarks

An application should routinely use this function to retrieve the current input context before attempting to access information in the context.

Requirements

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

See Also

Input Method Editor Overview, Input Method Editor Functions