SyncLockT::SyncLockT Constructor
Supports the WRL infrastructure and is not intended to be used directly from your code.
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