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.