Info[9]
Group
BSTR
GetActionName ( ActionId )
Returns the name of an Action specified by its ID.
Syntax
HRESULT GetActionName(
[in] long ActionId,
[out, retval] BSTR* Name
);
Parameters
ActionId
[in] ID for specified Action.
Name
[out, retval] Name of the Action.
GetActionOption ( ActionId, OptionType )
Returns the option for an Action, specified by its ID and the option type.
Syntax
HRESULT GetActionOption(
[in] long ActionId,
[in] long OptionType,
[out, retval] long* OptionVal
);
Parameters
ActionId
[in] ID for specified Action.
OptionType
[in] Type of option to examine.
OptionVal
[out, retval] Value of the specified option.
Remarks
Three option types are supported for Actions:
Value Description
Returned
OptionVal
1
Expression
0: output is a simple string
1: output is an expression
2
Disable
0: Action is enabled
1: Action is disabled
3
Remote Expression 0: Expression is evaluated locally
1: Expression is evaluated on remote WACI
GetActionOutput ( ActionId )
Returns the value that is sent out the Action’s port upon the Action being triggered.
15