| Class TFormat (unit Format) |
TComponent
| Constructors |
constructor Create(Parent : TComponent);SetFormatType } { Constructor and Destructor } { Create
| Functions |
destructor Destroy;
function FormatDrive : LongInt;
procedure SetDriveCapacity(Value : TCapacity);
procedure SetFormatType(Value : TFmtType);| Properties |
property Capacity : TCapacity
property Drive : TDriveType
property FormatType : TFmtType| Events |
| Variables |
FCapacity : TCapacity;
FDriveType : TDriveType;
FFmtType : TFmtType;
FParent : HWND;
FWinNT : Boolean;| Constructors |
constructor Create(Parent : TComponent);Public declarations
SetFormatType } { Constructor and Destructor } { Create
| Functions |
destructor Destroy;Create } { Destroy
function FormatDrive : LongInt;Destroy } { Public methods } { FormatDrive - this routine actually calls the API function to format the drive
procedure SetDriveCapacity(Value : TCapacity);Property Set and Get Methods } { SetDriveCapacity - set's the drive capacity during format.
procedure SetFormatType(Value : TFmtType);SetDriveCapacity } { SetFormatType - set's the format type - some types aren't available under Windows NT 4.0
| Properties |
property Capacity : TCapacityPublished declarations
property Drive : TDriveType
property FormatType : TFmtType| Events |
| Variables |
FCapacity : TCapacity;Private declarations
FDriveType : TDriveType;
FFmtType : TFmtType;
FParent : HWND;
FWinNT : Boolean;