ImmSimulateHotKey function

Simulates the specified IME hot key, causing the same response as if the user presses the hot key in the specified window.

Syntax


BOOL ImmSimulateHotKey(
  _In_ HWND  hWnd,
  _In_ DWORD dwHotKeyID
);

Parameters

hWnd [in]

Handle to the window.

dwHotKeyID [in]

Identifier of the IME hot key. For more information, see IME Hot Key Identifiers.

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

 

 

Show: