Platform SDK: International Features

ImmSimulateHotKey

The ImmSimulateHotKey function simulates the specified IME hot key, causing the same response as if the user had pressed the hot key in the specified window.

BOOL ImmSimulateHotKey(
  HWND hWnd,        
  DWORD dwHotKeyID  
);

Parameters

hWnd
[in] Handle to the window.
dwHotKeyID
[in] Specifies the identifier of the IME hot key. For more information, see IME Hot Key Identifiers.

Return Values

If the function succeeds, the return value is a nonzero value.

If the function fails, the return value is zero.

Requirements

  Windows NT/2000: Requires Windows NT 4.0 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Imm.h.
  Library: Use Imm32.lib.

See Also

Input Method Editor Overview, Input Method Editor Functions