Sign in Join
FPDoc Onlineexperiment

GetDriveIDFromLetter function

In unit sysutils

Return the drive ID based on a drive letter.

Declaration

pascal
function GetDriveIDFromLetter(const ADrive: RawByteString): Byte

Description

GetDriveIDFromLetter returns the drive ID based on a drive letter. The drive ID can then be used in the DiskSize and DiskFree calls.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.