ImmGetContext function (imm.h)

Returns the input context associated with the specified window.

Syntax

HIMC ImmGetContext(
       HWND unnamedParam1
);

Parameters

unnamedParam1

Return value

Returns the handle to the input context.

Remarks

An application should routinely use this function to retrieve the current input context before attempting to access information in the context.

The application must call ImmReleaseContext when it is finished with the input context.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only],East Asian language support installed.
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header imm.h (include Immdev.h, Windows.h)
Library Imm32.lib
DLL Imm32.dll

See also

ImmReleaseContext

Input Method Manager

Input Method Manager Functions