126.96.36.199.34.14 EnumReports (Opnum 24)
The EnumReports method enumerates all the reports configured for the report job and returns S_OK upon successful completion.
[id(FSRM_DISPID_REPORT_JOB | 0x01)] HRESULT EnumReports( [out, retval] IFsrmCollection** reports );
reports: Pointer to an IFsrmCollection interface pointer (section 188.8.131.52.1) that upon completion contains pointers to the report objects configured for the report job. A caller MUST release the collection received when the caller is done with it.
Return Values: The method MUST return zero on success, or a nonzero error code on failure.
The reports parameter is NULL.
Upon receiving this message, the server MUST validate parameters:
Verify that reports is not NULL.
If any validation fails, the server MUST terminate processing and return a nonzero error code.
The server MUST populate reports with the IFsrmReport interface pointer (section 184.108.40.206.35) of each report configured for the report job object.
If there are no reports configured for the report job (that is, the Report Job.Reports list is empty), the server MUST return an IFsrmCollection object that contains zero objects.