135
Remarks
Calling this function deletes the Event as well as all Actions belonging to the Event.
DeleteEventByName ( Name )
DeleteEventByName ( Name )
DeleteEventByName ( Name )
DeleteEventByName ( Name )
Delete an Event specified by its name.
Syntax
HRESULT DeleteEventByName(
[in] BSTR Name,
[out, retval] VARIANT_BOOL* Success
);
Parameters
Name
[in] Name of the Event to delete.
Success
[out, retval] TRUE if the specified Event was successfully deleted, FALSE if deleting the
Event failed.
Remarks
Calling this function deletes the Event as well as all Actions belonging to the Event.
GetEventByIdx ( Idx )
GetEventByIdx ( Idx )
GetEventByIdx ( Idx )
GetEventByIdx ( Idx )
Returns the Event ID for a specified index number.
Syntax
HRESULT GetEventByIdx(
[in] long Idx,
[out, retval] long* EventId
);
Parameters
Idx
[in] The index of the Event in the Event list
EventId
[out, retval] Event ID of the specified Event.
Remarks
GetEventByIdx
is normally used as part of a loop for getting the list of created Events. Use
GetEventCount
to get the number of Events. Use
GetEventByIdx
to get the ID of the next Event in the
list. Then use the ID and the remaining Event functions to retrieve the information you are interested in, e.g.
Name, Type, Actions, etc.
The index numbers start at 0 and stop at
Count-1
, where
Count
is gotten with
GetEventCount
.
If
-1
is returned, then index is out of range. If
-2
is returned, then the Event represented by
Idx
is in the
process of being deleted.
GetEventByName ( Name )
GetEventByName ( Name )
GetEventByName ( Name )
GetEventByName ( Name )
Returns an Event ID for an Event with a specified name.