Text Store Return Values

Header: textstor.h

When a document manager processes a text store, it produces return values in the range from 0xHHHH0200 through 0xHHHH0300. The following table lists text store return values in alphabetical order.

SymbolicCodeDescription
TS_E_FORMAT0x8004020aApplication does not support the data type contained in the IDataObject object to be inserted using ITextStoreACP::InsertEmbedded .
TS_E_INVALIDPOINT0x80040207Parameter is not within the bounding box of any character.
TS_E_INVALIDPOS0x80040200Range specified extends outside the document.
TS_E_NOINTERFACE0x80040204Object does not support the requested interface.
TS_E_NOLAYOUT0x80040206Application has not calculated a text layout.
TS_E_NOLOCK0x80040201Application does not have a read-only lock or read/write lock for the document.
TS_E_NOOBJECT0x80040202Embedded content offset is not positioned before a TF_CHAR_EMBEDDED character.
TS_E_NOSELECTION0x80040205Document has no selection.
TS_E_NOSERVICE0x80040203Content cannot be returned to match the service GUID.
TS_E_READONLY0x80040209Document is read-only. Cannot modify content.
TS_E_SYNCHRONOUS0x00040300Document cannot be locked synchronously.
TS_S_ASYNC0x1Document successfully received an asynchronous lock.
12 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.