Share via


SemaphoreTraits::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 SemaphoreTraits::Unlock Method.

Releases control of a shared resource.

Syntax

inline static void Unlock(  
   _In_ Type h  
);  

Parameters

h
Handle to a semaphore object.

Remarks

If the unlock operation is unsuccessful, Unlock() emits an error that indicates the cause of the failure.

Requirements

Header: corewrappers.h

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

See Also

SemaphoreTraits Structure