The Conroy & Conroy Subroutine Library (2021.3 edition)

TSDevice_Info
What: class
Ancestor: TDelphi_Object
File:
Layer: 1
Platforms: C++, C#, Javascript, Pascal (Object), PHP, Python

This is an abstract base class for device information. It has the methods:

File_System
string File_System()
function File_System : string
Returns the name of the file system used on the device. Returns a null string if the device is invalid or the file system is unknown.

File_System_Flags
int File_System_Flags()
function File_System_Flags : longint
Returns the flags for the file system. See DFSF_*.

Fixed
bool Fixed()
function Fixed : boolean
Returns true if the passed device is fixed (non-removable).

Media_ID
int Media_ID()
function Media_ID : longint
Return type of media in/on device. -1 if error or unknown.

Max_Filename_Length
int Max_Filename_Length()
function Max_Filename_Length : longint
Returns the maximum filename length for this device's file system.

Version
int Version()
function Version : longint
Returns version number of this object. 11 = 1.1.