Compartilhar via


SRWLock::LockExclusive 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::LockExclusive Method.

Acquires an SRWLock object in exclusive mode.

Syntax

SyncLockExclusive LockExclusive();  
  
static SyncLockExclusive LockExclusive(  
   _In_ SRWLOCK* lock  
);  

Parameters

lock
Pointer to an SRWLock object.

Return Value

An SRWLock object in exclusive mode.

Requirements

Header: corewrappers.h

Namespace: Microsoft::WRL::Wrappers

See Also

SRWLock Class