Match
[in] Value to match to trigger the Event. If the Match value is an expression, then the
expression will need to evaluate to 1 to cause the Event to trigger.
Success
[out, retval] TRUE if specified Event was successfully set, FALSE if setting the Event failed.
Remarks
Call this function to set up an Event. After making this call, a call to
SetEventSchedule
is required for all
Events of type Clock or Timer.
If Match is an expression, then a call to
SetEventOption
will also have to be made to set the expression
flag for the Event.
SetEventNetCard ( EventId, NetCard )
Set the network/telnet event to monitor on a certain network port.
Syntax
HRESULT SetEventByName(
[in] long EventId,
[in] long NetCard,
[out, retval] VARIANT_BOOL* Success
);
Parameters
EventId
[in] Name of the Event to set the information for.
NetCard
[in] The ID of the network port the event should monitor
Success
[out, retval] TRUE if specified Event was successfully set, FALSE if setting the Event failed.
Remarks
If NetCard is set to 0, the event will monitor all network ports.
SetEventOption ( EventId, OptionType, OptionVal )
Modify the option settings of a specified Event.
Syntax
HRESULT SetEventOption(
[in] long EventId,
[in] long OptionType,
[in] BSTR OptionVal,
[out, retval] VARIANT_BOOL* Success
);
Parameters
EventId
[in] ID of the Event to modify.
OptionType
[in] Integer specifying which option to modify.
OptionVal
[in] New value for the option.
Success
[out, retval] TRUE if specified option was successfully set, FALSE if setting the option failed.
Remarks
Pass one of the following values into
OptionType
:
14
Summary of Contents for WACI NX-22
Page 36: ......
Page 53: ...Finally drag and drop selected files from your File Explorer...