3.2.4.2.41.11 Parameters (put) (Opnum 22)

The Parameters (put) method sets the list of additional parameters for the rule and returns S_OK upon successful completion.

 [propput, id(FSRM_PROPERTY(FSRM_DISPID_RULE | 0x06))] HRESULT Parameters(
   [in] SAFEARRAY(VARIANT) parameters
 );

parameters: Contains the array of additional parameters for the rule.

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

Return value/code

Description

0x80070057

E_INVALIDARG

One or more of the parameters parameter is not of the form "parameter=value", where "parameter" and "value" are placeholders for text supplied by the client.

Upon receiving this message, the server MUST validate parameters:

  • Verify that the elements of parameters have the correct format. (See parameter strings in section 3.2.4.2 for more details on the format of the elements of the parameters array.) If they do not, return E_INVALIDARG.

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

The server MUST set the list of Rule.Parameters for the rule to parameters.