GetLock
Get data access bits
DWORD GetLock( DWORD dwCtrl = OAM_STRUCTURE )
return 0 if not locked, otherwise PLC_WRITE and PLC_READ bits
EX1
void OriginObject_GetLock_Ex1() { Worksheet wks = Project.ActiveLayer(); DWORD nRet = wks.GetLock(); printf("Lock type is %d\n", nRet); }
OriginObject::Lock, OriginObject::Unlock
origin.h