3.2.4.2.16.2 QuotaUsed (get) (Opnum 28)

The QuotaUsed (get) method returns the current, read-only quota usage for this quota.

 [propget, id(FSRM_PROPERTY(FSRM_DISPID_QUOTA | 0x01))] HRESULT QuotaUsed(
   [out, retval] VARIANT* used
 );

used: Pointer to a variable, which upon completion, contains the quota usage for this quota.

Return Values: The method MUST return zero on success, or a nonzero error code on failure.

Return value/code

Description

0x80070057

E_INVALIDARG

The used parameter is NULL.

Upon receiving this message, the server MUST validate parameters:

  • Verify that used is not NULL.

If any validation fails, the server MUST terminate processing and return a nonzero error code.

The server MUST set used to quota usage for this quota.