Skip to content

Latest commit

 

History

History
120 lines (101 loc) · 3.61 KB

nf-msctf-itfcomposition-endcomposition.md

File metadata and controls

120 lines (101 loc) · 3.61 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:msctf.ITfComposition.EndComposition
ITfComposition::EndComposition (msctf.h)
ITfComposition::EndComposition method
EndComposition
EndComposition method [Text Services Framework]
EndComposition method [Text Services Framework]
ITfComposition interface
ITfComposition interface [Text Services Framework]
EndComposition method
ITfComposition.EndComposition
ITfComposition::EndComposition
_tsf_itfcomposition_endcomposition_ref
msctf/ITfComposition::EndComposition
tsf.itfcomposition_endcomposition
tsf\itfcomposition_endcomposition.htm
TSF
b5717c03-2611-4199-b07d-b6f3b6f65d3a
12/05/2018
EndComposition, EndComposition method [Text Services Framework], EndComposition method [Text Services Framework],ITfComposition interface, ITfComposition interface [Text Services Framework],EndComposition method, ITfComposition.EndComposition, ITfComposition::EndComposition, _tsf_itfcomposition_endcomposition_ref, msctf/ITfComposition::EndComposition, tsf.itfcomposition_endcomposition
msctf.h
Windows
Windows 2000 Professional [desktop apps \| UWP apps]
Windows 2000 Server [desktop apps \| UWP apps]
Msctf.idl
Msctf.dll
Windows
TSF 1.0 on Windows 2000 Professional
19H1
ITfComposition::EndComposition
msctf/ITfComposition::EndComposition
c++
APIRef
kbSyntax
COM
msctf.dll
ITfComposition.EndComposition

ITfComposition::EndComposition

-description

Terminates a composition.

-parameters

-param ecWrite [in]

Contains an edit cookie that identifies the edit context obtained from ITfEditSession::DoEditSession.

-returns

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_UNEXPECTED
This value results when:
  • The composition terminated.
  • The caller is inside another composition write operation.
  • The caller does not own the composition.
TF_E_NOLOCK
The edit context identified by ecWrite does not have a read/write lock.

-remarks

This method does not release the composition object, but the ITfComposition methods will fail with E_UNEXPECTED after this method is called.

Context owners should use the ITFContextOwnerCompositionServices::TerminateComposition method to terminate a composition.

This method causes the GUID_PROP_COMPOSING property to be removed from the text covered by the composition.

-see-also

ITfContextOwnerCompositionServices::TerminateComposition, ITfComposition interface, ITfEditSession::DoEditSession