Platform SDK: International Features |
The ImmDestroyContext function releases the input context and frees any memory associated with it.
BOOL ImmDestroyContext( HIMC hIMC );
If the function succeeds, the return value is a nonzero value.
If the function fails, the return value is zero.
Any application that creates an input context by using the ImmCreateContext function must call this function to free the context before it terminates. However, before calling ImmDestroyContext you must remove the input context from any association it has with windows in the thread by using the ImmAssociateContext function.
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.
Input Method Editor Overview, Input Method Editor Functions, ImmAssociateContext, ImmCreateContext