【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.32.21 OriginObject::GetLock
Contents
Description
Get data access bits
Syntax
DWORD GetLock( DWORD dwCtrl = OAM_STRUCTURE )
Parameters
- dwCtrl
- can be one or more of the following bits OAM_DATA, ... (see OBJECTACCESSMASK)
Return
return 0 if not locked, otherwise PLC_WRITE and PLC_READ bits
Examples
EX1
void OriginObject_GetLock_Ex1() { Worksheet wks = Project.ActiveLayer(); DWORD nRet = wks.GetLock(); printf("Lock type is %d\n", nRet); }
Remark
See Also
OriginObject::Lock, OriginObject::Unlock
Header to Include
origin.h