Share via


SRWLock::LockExclusive Method

Acquires an SRWLock object in exclusive mode.

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

Reference

SRWLock Class