138
Parameters
EventId
[in] ID for the specified Event.
Host
[out, retval] The name of the remote WACI that the Event is monitoring.
Remarks
Use
SetEventHost
to set the name of the remote host. When a remote host name is specified, then the local
Event is triggered on a change in the remote WACI’s hardware or a change in one of the remote WACI’s
Variables.
GetEventIds ( )
GetEventIds ( )
GetEventIds ( )
GetEventIds ( )
Returns an array of all of the Event IDs.
Syntax
HRESULT GetEventIds(
[out, retval]VARIANT* EventIds
);
Parameters
EventIds
[out, retval] The returned array of Event IDs.
Remarks
Use
GetEventIds
to get the complete list of Event IDs stored by the Event Manager. This function is more
efficient than calling
GetEventCount
and
GetEventByIdx
.
GetEventIdxById ( EventId )
GetEventIdxById ( EventId )
GetEventIdxById ( EventId )
GetEventIdxById ( EventId )
Returns the index into the Event list for an Event with a specified ID.
Syntax
HRESULT GetEventIdxById(
[in] long EventId,
[out, retval] long* Idx
);
Parameters
EventId
[in] ID for the specified Event.
Idx
[out, retval] The index of the Event in the Event list.
Remarks
The index returned will be in the range
0
to
Count-1
, where
Count
is the value returned by
GetEventCount
.
-1
is returned if the Event with the specified ID is not found.
GetEventInfo ( EventId )
GetEventInfo ( EventId )
GetEventInfo ( EventId )
GetEventInfo ( EventId )
Returns an array filled with the data for an Event.