CriticalSectionTraits::Unlock Method
Specializes a CriticalSection template so that it supports releasing ownership of the specified critical section object.
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