Share via


SRWLock::LockShared Method

Acquires an SRWLock object in shared mode.

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

Reference

SRWLock Class