GetEventName ( EventId )
Returns the name of the Event with a specified ID.
Syntax
HRESULT GetEventName(
[in] long EventId,
[out, retval] BSTR* Name
);
Parameters
EventId
[in] ID for the specified Event.
Idx
[out, retval] Name of the specified Event.
GetEventOption ( EventId, OptionType )
Returns the value of a specified option for a specified Event.
Syntax
HRESULT GetEventOption(
[in] long EventId,
[in] long OptionType,
[out, retval] long* OptionVal
);
Parameters
EventId
[in] ID for the specified Event.
OptionType
[in] Type of option for the Event.
OptionVal
[out, retval] Value of the specified option for the Event.
Remarks
Pass one of the following values into
OptionType
:
Value
Option
OptionVal
returned
1
Concurrent
0 – Event’s Actions are executed serially
1 – Event’s Actions are executed concurrently
2
Expression
0 – The trigger value is a simple text string
1 – The trigger value is an expression
3
Disable
0 – The Event is enabled
1 – The Event is disabled
GetEventSchClockType ( EventId )
Returns the type of schedule used by a time based Event.
13