Windows Dev Center

ITfQueryEmbedded interface

The ITfQueryEmbedded interface is implemented by the TSF manager and used by a text service to determine if a context can accept an embedded object.

Members

The ITfQueryEmbedded interface inherits from the IUnknown interface. ITfQueryEmbedded also has these types of members:

Methods

The ITfQueryEmbedded interface has these methods.

MethodDescription
QueryInsertEmbedded

Determines if the active context can accept an embedded object.

 

Remarks

To obtain an instance of this interface, call the ITfContext::QueryInterface method with IID_ITfQueryEmbedded.

Examples

ITfContext



HRESULT hr;
ITfQueryEmbedded *pQueryEmbedded;

hr = pContext->QueryInterface(IID_ITfQueryEmbedded, (LPVOID*)&pQueryEmbedded);
if(SUCCEEDED(hr))
{
    //Use the ITfQueryEmbedded interface. 
    
    pQueryEmbedded->Release();
}


Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Redistributable

TSF 1.0 on Windows 2000 Professional

Header

Msctf.h

IDL

Msctf.idl

DLL

Msctf.dll

See also

IUnknown
ITfContext

 

 

Community Additions

ADD
Show:
© 2015 Microsoft