ImmGetContext

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

HIMC ImmGetContext(
  HWND hWnd  
);
 

Parameters

hWnd
Handle to the window to retrieve the input context for.

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.

QuickInfo

  Windows NT: Requires version 4.0 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Requires version 2.0 or later (FE).
  Header: Declared in imm.h.
  Import Library: Use imm32.lib.

See Also

Input Method Editor Overview, Input Method Editor Functions