ITfTransitoryExtensionSink::OnTransitoryExtensionUpdated method (msctf.h)
Transitory Document has been updated.
Syntax
HRESULT OnTransitoryExtensionUpdated(
[in] ITfContext *pic,
[in] TfEditCookie ecReadOnly,
[in] ITfRange *pResultRange,
[in] ITfRange *pCompositionRange,
[out] BOOL *pfDeleteResultRange
);
Parameters
[in] pic
[in] A pointer of ITfContext interface. This is a context object in which the update happened.
[in] ecReadOnly
[in] A read only edit cookie to access the pic. Using this edit cookie, the application can get the text that is contained in the context object.
[in] pResultRange
[in] A pointer of the ITfRange interface. This is the range of the result string (determined string).
[in] pCompositionRange
[in] A pointer of the ITfRange interface. This is the range of the current composition string.
[out] pfDeleteResultRange
[out] A pointer to return the bool value. If it is true, TSF manager deletes the result range so only the current composition range remains in the transitory extension.
Return value
This method can return one of these values.
Value | Description |
---|---|
|
The method was successful. |
|
An unspecified error occurred. |
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 | msctf.h |
DLL | Msctf.dll |
Redistributable | TSF 1.0 on Windows 2000 Professional |