131
Event Manager Methods
IsEventManagerEnabled ( )
IsEventManagerEnabled ( )
IsEventManagerEnabled ( )
IsEventManagerEnabled ( )
Returns whether the Event Manager is active. When active, the Event Manager monitors the system hardware
and triggers Events to run.
Syntax
HRESULT IsEventManagerEnabled(
[out, retval]long* Enabled
);
Parameters
Enabled
[out, retval] Returned as TRUE if the Event Manager is enabled and active, and returns
FALSE when the Event Manager has been disabled.
Remarks
To enable or disable the Event Manager, call the
EnableEventManager
function.
EnableEventManager
EnableEventManager
EnableEventManager
EnableEventManager ( Enable )
( Enable )
( Enable )
( Enable )
Enables or disables the monitoring of the hardware by the Event Manager. When disabled, the Event Manager
will not execute any Events.
Syntax
HRESULT EnableEventManager(
[in]VARIANT_BOOL Enable,
[out, retval]VARIANT_BOOL* Success
);
Parameters
Enable
[in] Set to TRUE to enable the Event Manager, and FALSE to disable the Event Manager.
Disabling the Event Manager will stop the processing of all Events and Actions.
Success
[out, retval] TRUE if the Event Manager was successfully enabled or disabled, and FALSE if
the state of the Event Manager didn’t change.
Remarks
To determine whether the Event Manager is enabled or disabled, call the
IsEventManagerEnabled
function.
WaitOnChangeEvent ( ChangeMask, TimeOut )
WaitOnChangeEvent ( ChangeMask, TimeOut )
WaitOnChangeEvent ( ChangeMask, TimeOut )
WaitOnChangeEvent ( ChangeMask, TimeOut )
Use this function to be notified of a change in the WACI’s hardware or change in a Variable.
NOTE: Calling this function will halt the web server while the wait is being processed.