Share via


ImmReleaseContext (Compact 2013)

3/28/2014

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

Syntax

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 Value

Nonzero indicates success. Zero indicates failure.

Requirements

Header

imm.h

Library

Coreimm.lib

See Also

Reference

Input Method Manager (IMM) Functions
ImmGetContext