Share via


Semaphore::Semaphore Constructor

Initializes a new instance of the Semaphore class.

explicit Semaphore(
   HANDLE h
);

WRL_NOTHROW Semaphore(
   _Inout_ Semaphore&& h
);

Parameters

  • h
    A handle or an rvalue-reference to a Semaphore object.

Requirements

Header: corewrappers.h

Namespace: Microsoft::WRL::Wrappers

See Also

Reference

Semaphore Class