Share via


SyncLockWithStatusT::SyncLockWithStatusT Constructor

Supports the WRL infrastructure and is not intended to be used directly from your code.

SyncLockWithStatusT(
   _Inout_ SyncLockWithStatusT&& other
);

explicit SyncLockWithStatusT(
   typename SyncTraits::Type sync,
   DWORD status
);

Parameters

  • other
    An rvalue-reference to another SyncLockWithStatusT object.

  • sync
    A reference to another SyncLockWithStatusT object.

  • status
    The value of the status_ data member of the other parameter or the sync parameter.

Remarks

Initializes a new instance of the SyncLockWithStatusT class.

The first constructor initializes the current SyncLockWithStatusT object from another SyncLockWithStatusT specified by parameter other, and then invalidates the other SyncLockWithStatusT object. The second constructor is protected, and initializes the current SyncLockWithStatusT object to an invalid state.

Requirements

Header: corewrappers.h

Namespace: Microsoft::WRL::Wrappers::Details

See Also

Reference

SyncLockWithStatusT Class

SyncLockWithStatusT::GetStatus Method