The ImmReleaseContext function releases the input context and unlocks the memory associated in the context. An application must call this function for each call to the ImmGetContext function.
BOOL ImmReleaseContext(
HWND hWnd,
HIMC hIMC
);
If the function succeeds, the return value is a nonzero value.
If the function fails, the return value is zero.
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.
Input Method Editor Overview, Input Method Editor Functions, ImmGetContext