Parameters
Client
[in] IP address or host name of the remote WACI.
EventRecord
[in] Text string that contains the information about the Event record for the format of the
record
EventId
[out, retval] ID of the Event on the remote host.
Remarks
This function is called by the Event Manager when a local Event’s
host_name
field has been filled in.
The remote Event will timeout after 1 minute, and will be deleted from the remote WACI, unless a call to
refresh the Event is made before times out. To refresh the Event, make another call to AddRemoteEvent with
the same Event record.
CloneEventById ( EventId, CloneActions, NewName )
Clone (duplicate) an Event specified by its ID.
Syntax
HRESULT CloneEventById(
[in] long EventId,
[in] long CloneActions,
[in] BSTR NewName,
[out, retval] long* CloneID
);
Parameters
EventId
[in] ID of the Event to modify.
CloneActions
[in] Duplicate all the Event’s Actions too.
NewName
[in] Name of the new duplicate Event.
CloneID
[out, retval] ID of the new duplicate Event.
Remarks
The name of the newly cloned Event will be set to “%s Copy”, where the %s is replaced by the name of the
Event being cloned. If a copy of the Event already exists, then an incrementing number is appended to the end,
e.g. “MyEvent Copy3”.
DeleteEventById ( EventId )
Delete an Event specified by its ID.
Syntax
HRESULT DeleteEventById(
[in] long EventId,
[out, retval] VARIANT_BOOL* Success
);
Parameters
EventId
[in] ID of the Event to delete.
Success
[out, retval] TRUE if the specified Event was successfully deleted, FALSE if deleting the
Event failed.
12
Summary of Contents for WACI NX-22
Page 36: ......
Page 53: ...Finally drag and drop selected files from your File Explorer...