GetActionByIdx ( EventId, Idx )
Returns the Action ID for a specified Event ID and Action index number.
Syntax
HRESULT GetActionByIdx(
[in] long EventId,
[in] long Idx,
[out, retval] long* ActionId
);
Parameters
EventId
[in] ID of the Event that contains the Action.
Idx
[in] Index number for the Action.
ActionId
[out, retval] Returned ID of the specified Action.
Remarks
Use this function to get the list of Actions associated with a particular Event. Each Event can contain up to 16
Actions.
GetActionByName ( EventId, Name )
Returns the Action ID for a specified Event ID and Action name.
Syntax
HRESULT GetActionByName(
[in] long EventId,
[in] BSTR Name,
[out, retval] long* ActionId
);
Parameters
EventId
[in] ID of specified Event.
Name
[in] Name of the Action
ActionId
[out, retval] Action ID of the named Action.
Remarks
The name comparison is case sensitive, and requires an exact match. Wild cards are not supported.
GetActionCount ( EventId )
Returns the total number of Actions associated with an Event.
Syntax
HRESULT GetActionCount(
[in] long EventId,
[out, retval] long* NumActions
);
Parameters
EventId
[in] ID of the Event.
14