Remarks
Calling this function deletes the Event as well as all Actions belonging to the Event.
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 )
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 )
Returns an Event ID for an Event with a specified name.
12
Summary of Contents for WACI NX-22
Page 36: ......
Page 53: ...Finally drag and drop selected files from your File Explorer...