ITfEditSession::DoEditSession method (msctf.h)

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

Syntax

HRESULT DoEditSession(
  [in] TfEditCookie ec
);

Parameters

[in] ec

Contains a TfEditCookie value that uniquely identifies the edit session. This cookie is used to access the context with methods such as ITfRange::GetText.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_FAIL
An unspecified error occurred.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header msctf.h
DLL Tipskins.dll
Redistributable TSF 1.0 on Windows 2000 Professional

See also

ITfContext::RequestEditSession

ITfEditSession

ITfRange::GetText

TfEditCookie