Remarks
A return value of ““ indicates that the Action will be executed locally
GetActionIds ( EventId )
Returns the IDs of the Actions owned by the specified Event.
Syntax
HRESULT GetActionIds(
[in]long EventId,
[out, retval]VARIANT* ActionIds
);
Parameters
EventId
[in] ID for the owning Event.
ActionIds
[out, retval] The returned array of Action IDs.
Remarks
Use
GetActionIds
to get the complete list of Action IDs owned by an Event. This function is more efficient
than calling
GetActionCount
and
GetActionByIdx
.
GetActionInfo ( ActionId )
Returns an array filled with the data for an Action.
Syntax
HRESULT GetActionInfo(
[in]long ActionId,
[out, retval] VARIANT* Info
);
Parameters
ActionId
[in] ID for the specified Action.
Info
[out, retval] An array of data values that define the Action.
Remarks
The Info array is filled with the following:
Element Field
Type
Info[0]
Name
BSTR
Info[1]
Type
long
Info[2]
Options
unsigned long
Info[3]
Delay
double
Info[4]
DutyCycle double
Info[5]
StopAfter
long
Info[6]
PortName
BSTR
Info[7]
Output
BSTR
Info[8]
Host
BSTR
15