3.2.4.2.18.1 ActionVariables (get) (Opnum 7)

The ActionVariables (get) method returns the list of macro names (Quota Macros (section 3.2.4.3.1) and General Macros (section 3.2.4.3.4)) that the FSRM protocol looks for when parsing action properties.

 [propget, id(FSRM_PROPERTY (FSRM_DISPID_QUOTA_MANAGER | 0x01))] HRESULT ActionVariables(
   [out, retval] SAFEARRAY (VARIANT)* variables
 );

variables: Pointer to a SAFEARRAY. Upon completion, variables contains a list of macros for action settings that FSRM will replace with values specific to the event and the machine on which the event occurred.

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

Return value/code

Description

0x80070057

E_INVALIDARG

The variables parameter is NULL.

Upon receiving this message, the server MUST validate parameters:

  • Verify that variables is not NULL.

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

The server MUST populate variables with the list of macros (see Quota Macros (section 3.2.4.3.1) and General Macros (section 3.2.4.3.1)).