STORAGE_RESERVE_ID enumeration (ntifs.h)

STORAGE_RESERVE_ID defines values for the storage reserve ID of a file, directory, or storage reserve area. The values are used by the FILE_STORAGE_RESERVE_ID_INFORMATION structure.

Syntax

typedef enum _STORAGE_RESERVE_ID {
  StorageReserveIdNone,
  StorageReserveIdHard,
  StorageReserveIdSoft,
  StorageReserveIdUpdateScratch,
  StorageReserveIdMax
} STORAGE_RESERVE_ID, *PSTORAGE_RESERVE_ID;

Constants

 
StorageReserveIdNone
The file or directory is not associated with any particular storage reserve area. Files created by users and applications are treated as having StorageReserveIdNone by default, unless they are created inside a directory that has been marked with a different storage reserve ID.
StorageReserveIdHard
The file or directory is part of the "Hard" storage reserve area, which is used by the system to help ensure there is sufficient disk space to download and install updates. Warning: A file or directory marked as StorageReserveIdHard may be deleted automatically by the system at any time, without user consent.
StorageReserveIdSoft
The file or directory is part of the "Soft" storage reserve area, which is used by the system to help ensure there is sufficient disk space to install updates. Warning: A file or directory marked as StorageReserveIdSoft may be deleted automatically by the system at any time, without user consent.
StorageReserveIdUpdateScratch
The file or directory is part of the "Update Scratch" storage reserve area, which is used by the system to help ensure there is sufficient disk space to install an update from scratch. Warning: A file or directory marked as StorageReserveIdSoft may be deleted automatically by the system at any time, without user consent.
StorageReserveIdMax
Marks the limit of predefined storage reserve IDs currently understood by the system. File systems that support storage reserves may support IDs beyond this to allow for future use.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809
Header ntifs.h

See also

FILE_STORAGE_RESERVE_ID_INFORMATION