ActionVariables (get) (Opnum 7)

The ActionVariables (get) method returns the list of macro names (Quota Macros (section and General Macros (section 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




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 and General Macros (section