Returns whether two locks are on the same object
Source position: amigados.pas line 1704
function SameLock( |
lock1: LongInt; |
lock2: LongInt |
):LongInt; |
lock1 |
|
1st lock for comparison |
lock2 |
|
2nd lock for comparison |
LOCK_SAME, LOCK_SAME_HANDLER or LOCK_DIFFERENT
Compares two locks. Returns LOCK_SAME if they are on the same object, LOCK_SAME_HANDLER if on different objects on the same volume, and LOCK_DIFFERENT if they are on different volumes. Always compare for equality or non-equality with the results, in case new return values are added.