DISKQUOTA_USER_INFORMATION structure (dskquota.h)

Represents the per-user quota information.

Syntax

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

Members

QuotaUsed

The 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

The 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

The quota limit for the user, in bytes. If this value is -1, the user has an unlimited quota.

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

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header dskquota.h

See also

IDiskQuotaControl::SetQuotaLogFlags

IDiskQuotaControl::SetQuotaState

IDiskQuotaUser::GetQuotaInformation