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

SameDevice

Are two locks are on partitions of the device?

Declaration

Source position: amigados.pas line 2363

function SameDevice(

  Lock1: Pointer;

  Lock2: Pointer

):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