IDirectWriterLock interface (objidl.h)
The IDirectWriterLock interface enables a single writer to obtain exclusive write access to a root storage object opened in direct mode while allowing concurrent access by multiple readers. This single-writer, multiple-reader mode does not require the overhead of making a snapshot copy of the storage for the readers.
Inheritance
The IDirectWriterLock interface inherits from the IUnknown interface. IDirectWriterLock also has these types of members:
Methods
The IDirectWriterLock interface has these methods.
IDirectWriterLock::HaveWriteAccess The HaveWriteAccess method indicates whether the write lock has been taken. |
IDirectWriterLock::ReleaseWriteAccess The ReleaseWriteAccess method releases the write lock previously obtained. |
IDirectWriterLock::WaitForWriteAccess The WaitForWriteAccess method obtains exclusive write access to a storage object. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps | UWP apps] |
Minimum supported server | Windows 2000 Server [desktop apps | UWP apps] |
Target Platform | Windows |
Header | objidl.h |