SyncLockT::SyncLockT Constructor
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 SyncLockT::SyncLockT Constructor.
Supports the WRL infrastructure and is not intended to be used directly from your code.
Syntax
SyncLockT(
_Inout_ SyncLockT&& other
);
explicit SyncLockT(
typename SyncTraits::Type sync = SyncTraits::GetInvalidValue()
);
Parameters
other
An rvalue-reference to another SyncLockT object.
sync
A reference to another SyncLockWithStatusT object.
Remarks
Initializes a new instance of the SyncLockT class.
The first constructor initializes the current SyncLockT object from another SyncLockT object specified by parameter other
, and then invalidates the other SyncLockT object. The second constructor is protected
, and initializes the current SyncLockT object to an invalid state.
Requirements
Header: corewrappers.h
Namespace: Microsoft::WRL::Wrappers::Details