ImmReleaseContext function

Releases the input context and unlocks the memory associated in the input context. An application must call this function for each call to the ImmGetContext function.

Syntax


BOOL ImmReleaseContext(
  _In_ HWND hWnd,
  _In_ 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

Returns a nonzero value if successful, or 0 otherwise.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Version

East Asian language support installed.

Header

Imm.h (include Windows.h)

Library

Imm32.lib

DLL

Imm32.dll

See also

Input Method Manager
Input Method Manager Functions
ImmGetContext

 

 

Show: