TS_LF_* Constants

The TS_LF_* constants specify the type of document lock.

Constant/value Description
TS_LF_SYNC
( 0x1 )
The document has a synchronous-lock if this flag is combined with other flags.
TS_LF_READ
( 0x2 )
The document has a read-only lock and cannot be modified.
TS_LF_READWRITE
( 0x6 )
The document has a read/write lock and can be modified.

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

Document Locks

ITextStoreACP::RequestLock

ITextStoreACPSink::OnLockGranted

ITextStoreAnchor::RequestLock

ITextStoreAnchorSink::OnLockGranted