Are two locks are on partitions of the device?
Source position: amigados.pas line 2270
function SameDevice( |
lock1: LongInt; |
lock2: LongInt |
):LongBool; |
lock1 |
|
Lock to compare |
lock2 |
|
Lock to compare |
Whether they're on the same device as far as Dos can determine. DosTrue
SameDevice() returns whether two locks refer to partitions that are on the same physical device (if it can figure it out). This may be useful in writing copy routines to take advantage of asynchronous multi-device copies.