3.2.4.2.35.6 LastGeneratedFileNamePrefix (get) (Opnum 12)

The LastGeneratedFileNamePrefix (get) method retrieves the last generated file name prefix of the report for the most recently generated report and returns S_OK upon successful completion.

 [propget, id(FSRM_PROPERTY(FSRM_DISPID_REPORT | 0x04))] HRESULT LastGeneratedFileNamePrefix(
   [out, retval] BSTR* prefix
 );

prefix: Pointer to a variable that upon completion contains the last generated file name prefix 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 prefix parameter is NULL.

Upon receiving this message, the server MUST validate parameters:

  • Verify that prefix is not NULL.

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

The server MUST set prefix to the last generated file name prefix.