Platform SDK: International Features

ImmReleaseContext

The ImmReleaseContext function releases the input context and unlocks the memory associated in the input context. An application must call this function for each call to the ImmGetContext function.

BOOL ImmReleaseContext(
  HWND hWnd,   
  HIMC hIMC    
);

Parameters

hWnd
[in] Handle to the window for which the input context was previously retrieved.
hIMC
[in] Handle to the input context.

Return Values

If the function succeeds, the return value is a nonzero value.

If the function fails, the return value is zero.

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, ImmGetContext