Unit 'amigados' Package
[Overview][Constants][Types][Procedures and functions][Index] [#os4units]

SameDevice

Are two locks are on partitions of the device?

Declaration

Source position: amigados.pas line 2606

function SameDevice(

  Lock1: LongInt;

  Lock2: LongInt

):LongBool;

Arguments

Lock1

  

Lock to compare

Lock2

  

Lock to compare

Function result

Whether they're on the same device as far as Dos can determine. DosTrue

Description

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.


Documentation generated on: 2021-07-30