3.2.4.2.33.10 SetReportSizeLimit (Opnum 16)
The SetReportSizeLimit method sets the report size limit of the specified report limit.
-
[id(FSRM_DISPID_REPORT_MANAGER | 0x0A)] HRESULT SetReportSizeLimit( [in] FsrmReportLimit limit, [in] VARIANT limitValue );
limit: Contains the value from the FsrmReportLimit (section 2.2.1.2.17) enumeration indicating the report size limit that is set.
limitValue: Contains the value of the specified report size 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 not a valid value; it could not be converted to a positive, long number.
Upon receiving this message, the server MUST validate parameters:
Verify that limit contains a valid FsrmReportLimit value.
Verify that limitValue contains a positive long number.
If any validation fails, the server MUST terminate processing and return a nonzero error code.
The server MUST use limitValue as the report size limit for the specified report limit.