📄 diskinfo.hpp
字号:
// Borland C++ Builder
// Copyright (c) 1995, 2002 by Borland Software Corporation
// All rights reserved
// (DO NOT EDIT: machine generated header) 'DiskInfo.pas' rev: 6.00
#ifndef DiskInfoHPP
#define DiskInfoHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <SysUtils.hpp> // Pascal unit
#include <Classes.hpp> // Pascal unit
#include <Windows.hpp> // Pascal unit
#include <SysInit.hpp> // Pascal unit
#include <System.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Diskinfo
{
//-- type declarations -------------------------------------------------------
#pragma option push -b-
enum TDriveType { dtUnknown, dtNoDrive, dtFloppy, dtFixed, dtNetwork, dtCDROM, dtRAM };
#pragma option pop
class DELPHICLASS TDiskInfo;
class PASCALIMPLEMENTATION TDiskInfo : public Classes::TComponent
{
typedef Classes::TComponent inherited;
private:
char FDisk;
AnsiString FSerialNumberStr;
int FSerialNumber;
AnsiString FVolumeLabel;
AnsiString FFileSystem;
TDriveType FDriveType;
__int64 FDiskSize;
__int64 FDiskFree;
void __fastcall SetDisk(char Value);
void __fastcall SetNothing(AnsiString Value);
void __fastcall SetNothingLong(int Value);
void __fastcall SetNothingInt64(__int64 Value);
void __fastcall SetNothingDT(TDriveType Value);
public:
__fastcall virtual TDiskInfo(Classes::TComponent* aOwner);
__published:
__property char Disk = {read=FDisk, write=SetDisk, nodefault};
__property AnsiString SerialNumberStr = {read=FSerialNumberStr, write=SetNothing};
__property int SerialNumber = {read=FSerialNumber, write=SetNothingLong, nodefault};
__property AnsiString VolumeLabel = {read=FVolumeLabel, write=SetNothing};
__property AnsiString FileSystem = {read=FFileSystem, write=SetNothing};
__property TDriveType DriveType = {read=FDriveType, write=SetNothingDT, nodefault};
__property __int64 DiskSize = {read=FDiskSize, write=SetNothingInt64};
__property __int64 DiskFree = {read=FDiskFree, write=SetNothingInt64};
public:
#pragma option push -w-inl
/* TComponent.Destroy */ inline __fastcall virtual ~TDiskInfo(void) { }
#pragma option pop
};
//-- var, const, procedure ---------------------------------------------------
extern PACKAGE void __fastcall Register(void);
} /* namespace Diskinfo */
using namespace Diskinfo;
#pragma option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // DiskInfo
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -