Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
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 Mutex::Mutex Constructor.
Initializes a new instance of the Mutex class.
Syntax
explicit Mutex(
HANDLE h
);
Mutex(
_Inout_ Mutex&& h
);
Parameters
h
A handle, or an rvalue-reference to a handle, to a Mutex object.
Remarks
The first constructor initializes a Mutex object from the specified handle. The second constructor initializes a Mutex object from the specified handle, and then moves ownership of the mutex to the current Mutex object.
Requirements
Header: corewrappers.h
Namespace: Microsoft::WRL::Wrappers