Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

GetDriveIDFromLetter

Return the drive ID based on a drive letter.

Declaration

Source position: diskh.inc line 25

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: Nov 23 2024