Platform SDK: Files and I/O

IDiskQuotaControl

The IDiskQuotaControl interface provides methods for controlling the disk quota facilities of a single NTFS volume. The client can query and set volume-specific quota attributes through IDiskQuotaControl. The client can also enumerate all per-user quota entries on the volume. A client instantiates this interface by calling the CoCreateInstance function using the class identifier CLSID_DiskQuotaControl.

Virtual function table

IUnknown Methods

QueryInterface
AddRef
Release

IDiskQuotaControl Methods

Initialize
SetQuotaState
GetQuotaState
SetQuotaLogFlags
GetQuotaLogFlags
SetDefaultQuotaThreshold
GetDefaultQuotaThreshold
GetDefaultQuotaThresholdText
SetDefaultQuotaLimit
GetDefaultQuotaLimit
GetDefaultQuotaLimitText
AddUserSid
AddUserName
DeleteUser
FindUserSid
FindUserName
CreateEnumUsers
CreateUserBatch
InvalidateSidNameCache
GiveUserNameResolutionPriority
ShutdownNameResolution

Remarks

The disk quota control object also implements the IConnectionPointContainer interface to service the IDiskQuotaEvents interface.

Requirements

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

See Also

File Systems Overview, File System Interfaces