IActiveIMMIME::KeybdEvent method
Synthesizes a keyboard event for the Active Input Method Manager (IMM) service.
Syntax
HRESULT KeybdEvent(
[in] LANGID lgidIME,
[in] BYTE bVk,
[in] BYTE bScan,
[in] DWORD dwFlags,
[in] DWORD dwExtraInfo
);
Parameters
lgidIME [in]
A LANGID associated with the Active IME.bVk [in]
A BYTE value that contains the virtual key code.bScan [in]
A BYTE value that contains the hardware scan code.dwFlags [in]
An unsigned long integer value that specifies various function options.dwExtraInfo [in]
An unsigned long integer value that contains additional data associated with the keystroke.
Return value
Returns S_OK if successful, or an error value otherwise.
Requirements
Minimum supported client |
Windows XP |
Minimum supported server |
Windows 2000 Server |
Header |
Dimm.h |
IDL |
Dimm.idl |