Prev Next

ImmReleaseContext info  Overview  Group

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

   );

Parameters

hWnd
Handle to the window for which the input context was previously retrieved.
hIMC
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.

See Also

ImmGetContext