Manager Return Values

The Text Services Framework produces return values in the range from 0xHHHH0200 through 0xHHHH0507. The following table gives the manager return values in alphabetical order.

Note

The descriptions supplied are non-specific; the meaning of a return value can vary depending on the method that returned the value.

Return code/value Description
TF_E_ALREADY_EXISTS
0x80040506
The preserved key is registered.
TF_E_COMPOSITION_REJECTED
0x80040508
The context owner rejected the composition.
TF_E_DISCONNECTED
0x80040504
The context object is not on a document stack.
TF_E_EMPTYCONTEXT
0x80040509
The context is empty.
TF_E_FORMAT
0x8004020a
Context owner cannot handle objects of the type provided by the pDataObject parameter.
TF_E_INVALIDPOINT
0x80040207
The screen coordinates are invalid.
TF_E_INVALIDPOS
0x80040200
The character position is invalid.
TF_E_INVALIDVIEW
0x80040505
The context view is invalid.
TF_E_LOCKED
0x80040500
The context is already locked.
TF_E_NOINTERFACE
0x80040204
The object does not support the requested interface.
TF_E_NOLAYOUT
0x80040206
The text layout has not been calculated.
TF_E_NOLOCK
0x80040201
The caller does not have the necessary type of document.
TF_E_NOOBJECT
0x80040202
No embedded object exists at the specified position.
TF_E_NOPROVIDER
0x80040503
No function provider exists for the specified function.
TF_E_NOSELECTION
0x80040205
No selection exists within the context.
TF_E_NOSERVICE
0x80040203
The specified service does not exists or cannot be created.
TF_E_NOTOWNEDRANGE
0x80040502
The TSF manager does not own the range.
TF_E_RANGE_NOT_COVERED
0x80040507
The range is not within an active composition.
TF_E_READONLY
0x80040209
The edit context is read-only.
TF_E_STACKFULL
0x80040501
The context stack is full.
TF_E_SYNCHRONOUS
0x80040208
A synchronous read-only lock cannot be obtained.
TF_S_ASYNC
0x00040300
The data will be obtained asynchronously.

Requirements

Requirement Value
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