SRWLockSharedTraits Structure

Describes common characteristics of the SRWLock class in shared lock mode.

Syntax

struct SRWLockSharedTraits;

Members

Public Typedefs

Name Description
Type Synonym for a pointer to the SRWLOCK class.

Public Methods

Name Description
SRWLockSharedTraits::GetInvalidValue Retrieves an SRWLockSharedTraits object that is always invalid.
SRWLockSharedTraits::Unlock Releases exclusive control of the specified SRWLock object.

Inheritance Hierarchy

SRWLockSharedTraits

Requirements

Header: corewrappers.h

Namespace: Microsoft::WRL::Wrappers::HandleTraits

SRWLockSharedTraits::GetInvalidValue

Retrieves an SRWLockSharedTraits object that is always invalid.

inline static Type GetInvalidValue();

Return Value

A handle to a SRWLockSharedTraits object.

SRWLockSharedTraits::Unlock

Releases exclusive control of the specified SRWLock object.

inline static void Unlock(
   _In_ Type srwlock
);

Parameters

srwlock
A handle to an SRWLock object.