Sdílet prostřednictvím


SyncLockWithStatusT::SyncLockWithStatusT – konstruktor

Podporuje infrastrukturu WRL a není určen pro použití přímo v kódu.

SyncLockWithStatusT(
   _Inout_ SyncLockWithStatusT&& other
);

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

Parametry

  • other
    Rvalue odkaz na jiný objekt SyncLockWithStatusT.

  • sync
    Odkaz na jiný objekt SyncLockWithStatusT.

  • status
    Hodnota status_ datový člen other parametr nebo sync parametr.

Poznámky

Inicializuje novou instanci třídy SyncLockWithStatusT.

První konstruktor inicializuje aktuální objekt z jiné SyncLockWithStatusT určeného parametrem SyncLockWithStatusT othera potom zruší platnost ostatních SyncLockWithStatusT objektu.Druhý konstruktor je protecteda inicializuje aktuální objekt SyncLockWithStatusT neplatný stav.

Požadavky

Záhlaví: corewrappers.h

Obor názvů: Microsoft::WRL::Wrappers::Details

Viz také

Referenční dokumentace

SyncLockWithStatusT – třída

SyncLockWithStatusT::GetStatus – metoda