IDirectWriterLock::ReleaseWriteAccess method

The ReleaseWriteAccess method releases the write lock previously obtained.

Syntax


HRESULT ReleaseWriteAccess();

Parameters

This method has no parameters.

Return value

This method can return one of these 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.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Header

Objidl.h

IDL

Objidl.idl

Library

Uuid.lib

DLL

Ole32.dll

IID

IID_IDirectWriterLock is defined as 0E6D4D92-6738-11CF-9608-00AA00680DB4

See also

IDirectWriterLock::WaitForWriteAccess
IDirectWriterLock::HaveWriteAccess

 

 

Show: