3.2.4.2.48.12 CustomAction (get) (Opnum 22)

The CustomAction (get) method retrieves the custom action of the file management job and returns S_OK upon successful completion.

 [propget, id(FSRM_PROPERTY(FSRM_DISPID_FILE_MANAGEMENT_JOB | 0x06))] HRESULT CustomAction(
   [out, retval] IFsrmActionCommand** action
 );

action: Pointer to an IFsrmActionCommand interface pointer (section 3.2.4.2.9) that upon completion contains the custom action of the file management job.

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

Return value/code

Description

0x80070057

E_INVALIDARG

The action parameter is NULL.

Upon receiving this message, the server MUST validate parameters:

  • Verify that action is not NULL.

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

The server MUST set action to the IFsrmActionCommand interface of the custom action of the file management job.