ITfKeystrokeMgr::SimulatePreservedKey method
Syntax
HRESULT SimulatePreservedKey( [in] ITfContext *pic, [in] REFGUID rguid, [out] BOOL *pfEaten );
Parameters
- pic [in]
-
Pointer to the application context. This value was returned by a previous call to ITfDocumentMgr::CreateContext.
- rguid [in]
-
Contains the command GUID of the preserved key.
- pfEaten [out]
-
Pointer to a BOOL that indicates if the key event was handled. If this value receives TRUE, the key event was handled. If this value is FALSE, the key event was not handled.
Return value
This method can return one of these values.
| Value | Description |
|---|---|
|
The method was successful. |
|
The preserved key cannot be simulated. |
|
One or more parameters are invalid. |
|
An unspecified error occurred. |
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps | Windows Store apps] |
|
Redistributable |
TSF 1.0 on Windows 2000 Professional |
|
Header |
|
|
IDL |
|
|
DLL |
|
See also