Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ITfEditSession interface

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.

Members

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

Methods

The ITfEditSession interface has these methods.

MethodDescription
DoEditSession

Called to enable a text service to read and/or modify the contents of a context.

 

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

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

Tipskins.dll

See also

IUnknown
Edit Sessions
ITfContext
ITfContext::RequestEditSession

 

 

Community Additions

ADD
Show:
© 2015 Microsoft