Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IDirectWriterLock::HaveWriteAccess method

The HaveWriteAccess method indicates whether the write lock has been taken.

Syntax


HRESULT HaveWriteAccess();

Parameters

This method has no parameters.

Return value

This method can return one of these values.

S_OK

The storage object is currently locked for write access.

S_FALSE

The storage object is not currently locked for write access.

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::ReleaseWriteAccess

 

 

Show:
© 2017 Microsoft