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 | |
|
); |
If the function succeeds, the return value is a nonzero value.
If the function fails, the return value is zero.