Syntax
HRESULT GetEventCount(
[out, retval] long* NumEvents
);
Parameters
NumEvents
[out, retval] Total number of Events in the system.
Remarks
This function is used in conjunction with GetEventByIdx to get a list of the available Events.
GetEventGroup ( EventId )
Returns the group name for the Event with a specified ID.
Syntax
HRESULT GetEventGroup(
[in]long EventId,
[out, retval]BSTR* Group
);
Parameters
EventId
[in] ID of the Event.
Group
[out, retval] A returned string filled in with the group for the specified Event.
GetEventNetCard ( EventId )
Returns the group name for the Event with a specified ID.
Syntax
HRESULT GetEventGroup(
[in]long EventId,
[out, retval]BSTR* Netcard
);
Parameters
EventId
[in] ID of the Event.
Netcard
[out, retval] The ID of the Network port the event is assigned to.
Remarks
If the NetCard is 0, that means it can be triggered by any network port.
GetEventHost ( EventId )
Returns the remote host name of the Event with a specified ID.
Syntax
HRESULT GetEventHost(
[in]long EventId,
[out, retval]BSTR* Host
);
13