ITfContextOwnerCompositionSink::OnUpdateComposition method
Syntax
HRESULT OnUpdateComposition( [in] ITfCompositionView *pComposition, [in] ITfRange *pRangeNew );
Parameters
- pComposition [in]
-
Pointer to an ITfCompositionView object that represents the composition updated.
- pRangeNew [in]
-
Pointer to an ITfRange object that contains the range of text the composition will cover after the composition is updated.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
To determine what has changed within the composition, compare pRangeNew with the range returned from ITfCompositionView::GetRange. The range returned by ITfCompositionView::GetRange is not updated until after ITfContextOwnerCompositionSink::OnUpdateComposition returns.
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