SRWLockExclusiveTraits Structure

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

Syntax

struct SRWLockExclusiveTraits;

Members

Public Typedefs

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

Public Methods

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

Inheritance Hierarchy

SRWLockExclusiveTraits

Requirements

Header: corewrappers.h

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

SRWLockExclusiveTraits::GetInvalidValue

Retrieves an SRWLockExclusiveTraits object that is always invalid.

inline static Type GetInvalidValue();

Return Value

An empty SRWLockExclusiveTraits object.

SRWLockExclusiveTraits::Unlock

Releases exclusive control of the specified SRWLock object.

inline static void Unlock(
   _In_ Type srwlock
);

Parameters

srwlock
Handle to an SRWLock object.