Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The ITfContextOwnerCompositionServices interface is implemented by the TSF manager and used by a context owner to manipulate compositions created by a text service.
The ITfContextOwnerCompositionServices interface inherits from the ITfContextComposition interface. ITfContextOwnerCompositionServices also has these types of members:
The ITfContextOwnerCompositionServices interface has these methods.
ITfContextOwnerCompositionServices::TerminateComposition ITfContextOwnerCompositionServices::TerminateComposition method |
Normally, an application creates a context and is the context owner. On occasion a text service will create a context. In this case, the text service is the context owner. For more information, see Edit Contexts.
Obtain this interface by calling ITfContext::QueryInterface with IID_ITfContextOwnerCompositionServices.
HRESULT hr;
ITfContextOwnerCompositionServices *pCompServices;
//Get the ITfContextOwnerCompositionServices interface pointer.
hr = m_pContext->QueryInterface(IID_ITfContextOwnerCompositionServices, (LPVOID*)&pCompServices);
if(SUCCEEDED(hr))
{
//Use the interface.
//Release the interface.
pCompServices->Release();
}
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
Target Platform | Windows |
Header | msctf.h |
Redistributable | TSF 1.0 on Windows 2000 Professional |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today