IDiskQuotaUser::GetQuotaLimit

[This is preliminary documentation and subject to change.]

Retrieves the user's quota limit value on the volume. The limit is set as the maximum amount of disk space available to the volume user.

HRESULT GetQuotaLimit(
  PLONGLONG pllLimit
);
 

Parameters

pllLimit
Pointer to the variable to receive the limit value. If this value is -1, the user has a unlimited quota.

Return Values

This method returns one of the following values.

Value Meaning
S_OK Success.
DQC_E_ACCESS_DENIED The caller has insufficient access rights.
DQC_E_LOCK_FAILED Failure to obtain an exclusive lock.
E_POINTER The pllLimit parameter is NULL.
E_OUTOFMEMORY Insufficient memory.
E_FAIL Failure reading quota information.

QuickInfo

  Windows NT: Requires version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in dskquota.h.

See Also

File Systems Overview, File System Interfaces, IDiskQuotaUser