CriticalSectionTraits::Unlock 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 CriticalSectionTraits::Unlock Method.
Specializes a CriticalSection template so that it supports releasing ownership of the specified critical section object.
Syntax
inline static void Unlock(
_In_ Type cs
);
Parameters
cs
A pointer to a critical section object.
Remarks
The Type modifier is defined as typedef CRITICAL_SECTION* Type;
.
For more information, see "LeaveCriticalSection function" in the "Synchronization Functions" section of the Windows API documentation.
Requirements
Header: corewrappers.h
Namespace: Microsoft::WRL::Wrappers::HandleTraits