ITfFnLMProcessor::InvokeKey method (ctffunc.h)
Called to enable the language model text service to process a key event.
Syntax
HRESULT InvokeKey(
[in] BOOL fUp,
[in] WPARAM vKey,
[in] LPARAM lparamKeyData
);
Parameters
[in] fUp
Contains a BOOL that specifies if this is a key-down or a key-up event. Contains zero if this is a key-down event or nonzero otherwise.
[in] vKey
Contains the virtual-key code of the key. For more information about this parameter, see the wParam parameter in WM_KEYDOWN.
[in] lparamKeyData
Specifies the repeat count, scan code, extended-key flag, context code, previous key-state flag, and transition-state flag of the key. For more information about this parameter, see the lParam parameter in WM_KEYDOWN.
Return value
This method can return one of these values.
Value | Description |
---|---|
|
The method was successful. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | ctffunc.h |
DLL | Msctf.dll |
Redistributable | TSF 1.0 on Windows 2000 Professional |