Interfaz ITfContextOwnerCompositionServices (msctf.h)

El administrador de TSF implementa la interfaz ITfContextOwnerCompositionServices y la usa un propietario de contexto para manipular las composiciones creadas por un servicio de texto.

Herencia

La interfaz ITfContextOwnerCompositionServices hereda de la interfaz ITfContextComposition . ITfContextOwnerCompositionServices también tiene estos tipos de miembros:

Métodos

La interfaz ITfContextOwnerCompositionServices tiene estos métodos.

 
ITfContextOwnerCompositionServices::TerminateComposition

Método ITfContextOwnerCompositionServices::TerminateComposition

Comentarios

Normalmente, una aplicación crea un contexto y es el propietario del contexto. En ocasiones, un servicio de texto creará un contexto. En este caso, el servicio de texto es el propietario del contexto. Para obtener más información, vea Editar contextos.

Obtenga esta interfaz llamando a ITfContext::QueryInterface con IID_ITfContextOwnerCompositionServices.

Ejemplos

ITfContext


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();
}

Requisitos

Requisito Value
Cliente mínimo compatible Windows 2000 Professional [aplicaciones de escritorio | Aplicaciones para UWP]
Servidor mínimo compatible Windows 2000 Server [aplicaciones de escritorio | Aplicaciones para UWP]
Plataforma de destino Windows
Encabezado msctf.h
Redistribuible TSF 1.0 en Windows 2000 Professional

Consulte también

Editar contextos

ITfContext

ITfContextComposition