Manager Return Values

Header: msctf.h

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.

SymbolicCodeDescription
TF_E_ALREADY_EXISTS0x80040506The preserved key is registered.
TF_E_COMPOSITION_REJECTED0x80040508The context owner rejected the composition.
TF_E_DISCONNECTED0x80040504The context object is not on a document stack.
TF_E_EMPTYCONTEXT0x80040509The context is empty.
TF_E_FORMAT0x8004020aContext owner cannot handle objects of the type provided by the pDataObject parameter.
TF_E_INVALIDPOINT0x80040207The screen coordinates are invalid.
TF_E_INVALIDPOS0x80040200The character position is invalid.
TF_E_INVALIDVIEW0x80040505The context view is invalid.
TF_E_LOCKED0x80040500The context is already locked.
TF_E_NOINTERFACE0x80040204The object does not support the requested interface.
TF_E_NOLAYOUT0x80040206The text layout has not been calculated.
TF_E_NOLOCK0x80040201The caller does not have the necessary type of document.
TF_E_NOOBJECT0x80040202No embedded object exists at the specified position.
TF_E_NOPROVIDER0x80040503No function provider exists for the specified function.
TF_E_NOSELECTION0x80040205No selection exists within the context.
TF_E_NOSERVICE0x80040203The specified service does not exists or cannot be created.
TF_E_NOTOWNEDRANGE0x80040502The TSF manager does not own the range.
TF_E_RANGE_NOT_COVERED0x80040507The range is not within an active composition.
TF_E_READONLY0x80040209The edit context is read-only.
TF_E_STACKFULL0x80040501The context stack is full.
TF_E_SYNCHRONOUS0x80040208A synchronous read-only lock cannot be obtained.
TF_S_ASYNC0x00040300The data will be obtained asynchronously.
22 entries

Article text from the Win32 documentation (opens in a new tab), by Microsoft, under the CC BY 4.0 (opens in a new tab) licence.