3.2.4.2.35.1 Type (get) (Opnum 7)

The Type (get) method retrieves the type of the report as defined in the FsrmReportType (section 2.2.1.2.10) enumeration and returns S_OK upon successful completion.

 [propget, id(FSRM_PROPERTY (FSRM_DISPID_REPORT | 0x01))] HRESULT Type(
   [out, retval] FsrmReportType* reportType
 );

reportType: Pointer to a variable that upon completion contains the type of the report.

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

Return value/code

Description

0x80070057

E_INVALIDARG

The reportType parameter is NULL.

Upon receiving this message, the server MUST validate parameters:

  • Verify that reportType is not NULL.

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

The server MUST set reportType to the Report.Type.