Advantage Client Engine
Tests if the given table is locked by the current user
UNSIGNED32 |
AdsIsTableLocked (ADSHANDLE hTable, UNSIGNED16 *pbLocked); |
hTable (I) |
Handle of table. |
pbLocked (O) |
Return True if locked, False if not locked. |
AdsIsTableLocked will return True if the table is locked by the current user. If the table is locked by another user or by this user who is using a different table handle, AdsIsTableLocked will return False. If the table is opened exclusively by the current user, this function will return False.
Note AdsIsTableLocked only tests for a lock on the given table handle (hTable). It does not test for table locks acquired on other table handles even though they refer to the same physical file.