Preprocesses all the keystrokes given through the Active Input Method Manager.
Syntax
HRESULT ProcessKey( HIMC hIMC, UINT uVirKey, DWORD lParam, BYTE *pbKeyState );
Parameters
- hIMC
- [in] Handle to the input context.
- uVirKey
- [in] Unsigned integer value that specifies the virtual key to be processed.
- lParam
- [in] Unsigned long integer value that specifies additional message information.
- pbKeyState
- [in] Address of a 256-byte array that contains the current keyboard state. The Active Input Method Editor should not modify the content of the key state.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
This method maps to the ImeProcessKey function documented in the Microsoft® Windows® 2000 Driver Development Kit.