Thema: Delphi Is volume compressed?

Einzelnen Beitrag anzeigen

Benutzerbild von himitsu
himitsu

Registriert seit: 11. Okt 2003
Ort: Elbflorenz
43.818 Beiträge
 
Delphi 12 Athens
 
#8

AW: Is volume compressed?

  Alt 6. Feb 2014, 15:40
Zitat:
lpFileSystemFlags [out, optional]

A pointer to a variable that receives flags associated with the specified file system.

This parameter can be one or more of the following flags. However, FS_FILE_COMPRESSION and FS_VOL_IS_COMPRESSED are mutually exclusive.

Remarks

The FS_VOL_IS_COMPRESSED flag is the only indicator of volume-based compression. The file system name is not altered to indicate compression, for example, this flag is returned set on a DoubleSpace volume. When compression is volume-based, an entire volume is compressed or not compressed.

...
Es kann nur Einen geben.



Entweder ist alles immer komprimiert,

oder das Volume unterstützt eine eine Komprimierung.
Und wenn das Volume nun manuell komprimiert wurde, dann ist das andere Flag dennoch nicht aktiv, da nicht das Volume, sondern nur das Root-Verzeichnis komprimiert wurde.
Garbage Collector ... Delphianer erzeugen keinen Müll, also brauchen sie auch keinen Müllsucher.
my Delphi wish list : BugReports/FeatureRequests
  Mit Zitat antworten Zitat