Platform SDK: Files and I/O

DISKQUOTA_USER_INFORMATION

The DISKQUOTA_USER_INFORMATION structure represents the per-user quota information.

typedef struct DiskQuotaUserInformation { 
  LONGLONG QuotaUsed;
  LONGLONG QuotaThreshold;
  LONGLONG QuotaLimit;
} DISKQUOTA_USER_INFORMATION, *PDISKQUOTA_USER_INFORMATION;

Members

QuotaUsed
Disk space charged to the user, in bytes. This is the amount of information stored, not necessarily the number of bytes used on disk.
QuotaThreshold
Warning threshold for the user, in bytes. You can use the IDiskQuotaControl::SetQuotaLogFlags method to configure the system to generate a system logfile entry when the disk space charged to the user exceeds this value.
QuotaLimit
Quota limit for the user, in bytes. You can use the IDiskQuotaControl::SetQuotaLogFlags method to configure the system to generate a system logfile entry when the disk space charged to the user exceeds this value. You can also use the IDiskQuotaControl::SetQuotaState method to configure the system to deny additional disk space to the user when the disk space charged to the user exceeds this value.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in Dskquota.h.

See Also

File Systems Overview, File System Structures, IDiskQuotaControl::SetQuotaLogFlags, IDiskQuotaControl::SetQuotaState, IDiskQuotaUser::GetQuotaInformation