Returns whether two locks are on the same object
Source position: amigados.pas line 2269
function SameLock( |
Lock1: Pointer; |
Lock2: Pointer |
):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.