3.2.4.2.16.3 QuotaPeakUsage (get) (Opnum 29)

The QuotaPeakUsage (get) method returns the peak quota usage of this quota.

 [propget, id(FSRM_PROPERTY(FSRM_DISPID_QUOTA | 0x02))] HRESULT QuotaPeakUsage(
   [out, retval] VARIANT* peakUsage
 );

peakUsage: Pointer to a variable that upon completion contains the peak quota usage of 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 peakUsage parameter is NULL.

Upon receiving this message, the server MUST validate parameters:

  • Verify that peakUsage is not NULL.

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

The server MUST set peakUsage to the peak quota usage of this quota.