Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTResource::IsLocked

Check if resource is locked.

Declaration

CTBOOL CTResource::IsLocked() const;

Description

Check if a resource is locked.

Return

Returns YES is a resource is locked or NO is a resource is not locked.

Example


if (hRes->IsLocked())

hRes->Unlock();

See Also

CTResource::Add(), CTResource::Delete(), CTResource::Update(), CTResource::First(), CTResource::Next(), CTResource::Find(), CTResource::GetType(), CTResource::SetType(), CTResource::GetNumber(), CTResource::SetNumber(), CTResource::GetName(), CTResource::SetName(), CTResource::GetDataLength(), CTResource::GetData(), CTResource::SetData(), CTResource::Unlock()

TOCIndex