Share via


SyncLockWithStatusT::IsLocked Method

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

bool IsLocked() const;

Remarks

Indicates whether the current SyncLockWithStatusT object owns a resource; that is, the SyncLockWithStatusT object is locked.

Return Value

true if the SyncLockWithStatusT object is locked; otherwise, false.

Requirements

Header: corewrappers.h

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

See Also

Reference

SyncLockWithStatusT Class