SyncLockT::IsLocked Method
Supports the WRL infrastructure and is not intended to be used directly from your code.
bool IsLocked() const;
true if the SyncLockT object is locked; otherwise, false.
Indicates whether the current SyncLockT object owns a resource; that is, the SyncLockT object is locked.
Header: corewrappers.h
Namespace: Microsoft::WRL::Wrappers::Details