function DskSecRead(in Disk: PSZ; in LBA: ULONGLONG; in bufSize: ULONG; out buffer): APIRET;

This function read sector from physical or logical disk.

Arguments
  • Disk - Name of physical or logical disk. Alpha is a logical disk name. Digit is a physical disk name. First physical disk has name '1:'. First logical disk has name 'a:'. Logical disk names can be in upper or low case.
  • LBA - Logical Block Address
  • buffer - buffer to store sector information. Buffer lenght must be at least…
  • bufSize - buffer size