ImmSimulateHotKey  19EGDLV 

[Now Supported on Windows NT]

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

Handle to the window.

dwHotKeyID

Identifier of the IME hot key. Can be one of the values specified in the  IME Hot Key Identifiers  table in Input Method Editor ConstantsIZLJ86.

 

Return Values

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

If the function fails, the return value is zero.