Miscellaneous Text Store Constants

The miscellaneous text store constants set certain properties for text stores.

Constant/value Description
TS_DEFAULT_SELECTION
( ( ULONG )-1 )
If the ulIndex parameter of ITfContext::GetSelection is set to this value, the default selection is obtained.
TS_GEA_HIDDEN
( 0x1 )
If dwFlags parameter of ITextStoreAnchor::GetEmbedded is set to this value, an embedded object can be located within hidden text.
TS_GTA_HIDDEN
( 0x1 )
Not used.
TS_ST_CORRECTION
( 0x1 )
If dwFlags parameter of ITextStoreACP::SetText, ITextStoreAnchor::SetText, or ITextStoreACPSink::OnTextChange is set to this value, the text is a transform (correction) of existing content, and any special text markup information (metadata) is retained, such as .wav file data or a language identifier.
TS_TC_CORRECTION
( 0x1 )
If dwFlags parameter of ITextStoreAnchorSink::OnTextChange is set to this value, the text is a transform (correction) of existing content, and any special text markup information (metadata) is retained, such as .wav file data or a language identifier.
TS_VCOOKIE_NUL
( 0xffffffff )
Used internally by TSF.

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
Textstor.h
IDL
Textstor.idl

See also

ITfContext::GetSelection

ITextStoreACP::SetText

ITextStoreAnchor::SetText

ITextStoreAnchor::GetEmbedded

ITextStoreACPSink::OnTextChange

ITextStoreAnchorSink::OnTextChange

Miscellaneous Framework Constants