3.2.4.2.33.9 GetReportSizeLimit (Opnum 15)

The GetReportSizeLimit method returns the report size limit value of the specified report limit.

 [id(FSRM_DISPID_REPORT_MANAGER | 0x09)] HRESULT GetReportSizeLimit(
   [in] FsrmReportLimit limit,
   [out, retval] VARIANT* limitValue
 );

limit: Contains the value from the FsrmReportLimit (section 2.2.1.2.17) enumeration indicating the report size limit for which the value is returned.

limitValue: Pointer to a variable that upon completion contains the report size limit of the specified report limit.

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

Return value/code

Description

0x80070057

E_INVALIDARG

This code is returned for the following reasons:

  • The limit parameter is not a valid FsrmReportLimit (section 2.2.1.2.17) value.

  • The limitValue parameter is NULL.

Upon receiving this message, the server MUST validate parameters:

  • Verify that limitValue is not NULL.

  • Verify that limit contains a valid FsrmReportLimit value.

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

The server MUST set limitValue to the report size limit for the specified report limit.