IMVSCFilterEvents

The IMVSCFilterEvents Interface from the  MontiVision Smart Control provides methods to enable filter events from the MontiVision Imaging Filter. The filter events are signalled by the  _IMVSmartControlEvents::FilterEvent  Method from the event interface from the MontiVision Smart Control. 

Nearly all MontiVision Imaging Filter provide the IMVFilterEvents  interface. This filter fires events e.g. at the start and end of the image processing.

Methods:

Disable Disables the filter events.
Enable Enables the filter events.

Typelib: MV Smart Control


Method IMVSCFilterEvents::Disable

Declaration: Sub Disable(Filter As String)

Disables the filter events.

Parameter:

Filter Label from the filter within the filter graph configuration.
Prototype:

HRESULT Disable(BSTR Filter);


Method IMVSCFilterEvents::Enable

Declaration: Function Enable(Filter As String) As Long

Enables the filter events.

Parameter:

Filter Label from the filter within the filter graph configuration.
Cookie Cookie to identify the events from the filter in _IMVSmartControlEvents::FilterEvent.
Prototype:

HRESULT Enable(BSTR Filter, LONG* Cookie);