FILE_STORAGE_RESERVE_ID_INFORMATION - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTIOAPI_H

typedef struct _FILE_STORAGE_RESERVE_ID_INFORMATION
{
    STORAGE_RESERVE_ID StorageReserveId;
} FILE_STORAGE_RESERVE_ID_INFORMATION, *PFILE_STORAGE_RESERVE_ID_INFORMATION;

#endif

View code on GitHub
// ntifs.h

typedef struct _FILE_STORAGE_RESERVE_ID_INFORMATION {
  STORAGE_RESERVE_ID StorageReserveId;
} FILE_STORAGE_RESERVE_ID_INFORMATION, *PFILE_STORAGE_RESERVE_ID_INFORMATION;
View the official Windows Driver Kit DDI reference

NtDoc

This structure is documented in Windows Driver Kit.

Windows Driver Kit DDI reference (ns-ntifs-_file_storage_reserve_id_information)

FILE_STORAGE_RESERVE_ID_INFORMATION structure

Description

The FILE_STORAGE_RESERVE_ID_INFORMATION structure is used by NtQueryInformationFile and NtSetInformationFile to query and set the storage reserve ID on a file or directory.

Members

StorageReserveId

A STORAGE_RESERVE_ID value that indicates the storage reserve ID for the file or directory. The file system uses this ID to change the disk space used by the file or directory as follows:

Remarks

Setting a storage reserve ID on a directory causes all files subsequently created inside that directory to inherit the storage reserve ID.

Attempting to set a storage reserve ID fails with STATUS_STORAGE_RESERVE_ID_INVALID if the value is greater than the maximum value supported by the file system.

Attempting to set a storage reserve ID fails with STATUS_STORAGE_RESERVE_DOES_NOT_EXIST if the corresponding storage reserve area has not been defined on the volume.

See also

STORAGE_RESERVE_ID