Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTResource::Unlock

Unlock a resource..

Declaration

void CTResource::Unlock();

Description

Unlocks a resource. The resource is only unlocked if it was previously locked by First(), Next() or Find().

Return

None

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(), CTResource::IsLocked(), Locking

TOCIndex