Export (0) Print
Expand All

ITfRangeACP interface

The ITfRangeACP interface is implemented by the TSF manager and is used by an application character position (ACP)-based application to access and manipulate range objects. This interface is derived from the ITfRange interface. Obtain an instance of this interface by querying an ITfRange object for IID_ITfRangeACP.

Members

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

Methods

The ITfRangeACP interface has these methods.

MethodDescription
GetExtent

Obtains the application character position and length of the range object.

SetExtent

Sets the application character position and length of the range object.

 

Examples

ITfRange



HRESULT hr;
ITfRangeACP *pRangeACP;

hr = pRange->QueryInterface(IID_ITfRangeACP, (LPVOID*)&pRangeACP);
if(SUCCEEDED(hr))
{
    //Use the ITfRangeACP interface. 
    
    //Release the ITfRangeACP interface. 
    pRangeACP->Release();
}


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

Msctf.h

IDL

Msctf.idl

DLL

Msctf.dll

See also

ITfRange

 

 

Community Additions

ADD
Show:
© 2014 Microsoft