3.2.4.2.9.4 Arguments (put) (Opnum 15)

The Arguments (put) method sets the arguments property of the action. The arguments will be used by the executable pointed to by the executable path property if this action is run.

 [propput, id(FSRM_PROPERTY(FSRM_DISPID_ACTION_COMMAND | 0x02))] HRESULT Arguments(
   [in] BSTR arguments
 );

arguments: Contains the arguments to use for this action.

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

Return value/code

Description

0x8004530D

FSRM_E_OUT_OF_RANGE

The content of the arguments parameter exceeds the maximum length of 4,000 characters.

0x80070057

E_INVALIDARG

The arguments parameter is NULL.

The server MUST use arguments as the arguments for the executable pointed to by the executable path for this action or return a nonzero error code.

The arguments can contain macros (section 3.2.4.3). If the arguments contains macros (section 3.2.4.3), the server MUST store arguments as provided, keeping the macros instead of resolving the macros with the values they resolve to. The server MUST allow all macros from section 3.2.4.3. The macros are resolved when the action is run.

The server MUST NOT alter the stored Notification.Model.Arguments of the action when the macros are resolved. The arguments with the resolved macro values is only used to execute the executable specified in action when it is run.