Share via


SRWLock::LockShared Method

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at SRWLock::LockShared Method.

Acquires an SRWLock object in shared mode.

Syntax

SyncLockShared LockShared();  
  
static SyncLockShared LockShared(  
   _In_ SRWLOCK* lock  
);  

Parameters

lock
Pointer to an SRWLock object.

Return Value

An SRWLock object in shared mode.

Requirements

Header: corewrappers.h

Namespace: Microsoft::WRL::Wrappers

See Also

SRWLock Class