IDirectWriterLock::ReleaseWriteAccess

[This is preliminary documentation and subject to change.]

Releases the write lock previously obtained.

HRESULT ReleaseForWriteAccess(void);
 

Return Values

S_OK
The write lock was successfully released.

Remarks

The writer calls this method to release exclusive access to the storage object previously taken by calling IDirectWriterLock::WaitForWriteAccess.

After the writer calls this method, it is safe to allow readers to reopen the storage again until the next call to IDirectWriterLock::WaitForWriteAccess.

QuickInfo

  Windows NT: Use version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in objidl.h.

See Also

IDirectWriterLock::WaitForWriteAccess, IDirectWriterLock::HaveWriteAccess