[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'sysutils' (#rtl)

GetDriveIDFromLetter

Return the drive ID based on a drive letter

Declaration

Source position: diskh.inc line 24

function GetDriveIDFromLetter(

  const ADrive: RawByteString

):Byte;

function GetDriveIDFromLetter(

  const ADrive: UnicodeString

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

DiskSize

  

Return the total amount of diskspace.

DiskFree

  

Return the amount of free diskspace


Documentation generated on: Sep 28 2017