ITfEditSession interface (msctf.h)

The ITfEditSession interface is implemented by a text service and used by the TSF manager to read and/or modify the text and properties of a context.

Inheritance

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

Methods

The ITfEditSession interface has these methods.

 
ITfEditSession::DoEditSession

ITfEditSession::DoEditSession method

Remarks

A text service initiates an edit session by calling ITfContext::RequestEditSession, passing a pointer to the ITfEditSession interface. When the edit session is granted, the TSF manager calls DoEditSession.

If the context is destroyed before the application grants a lock, or if the calling text service is deactivated before a lock is granted, the DoEditSession method is not called. For this reason, a text service should put cleanup operations for an edit session in the ITfEditSession interface destructor rather than in the DoEditSession method.

Requirements

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

See also

Edit Sessions

ITfContext

ITfContext::RequestEditSession

IUnknown