IMVSCDirectShowEvents

The IMVSCDirectShowEvents interface provides methods to configure the DirectShow event handling of the MV Smart Control.

Methods:

CancelDefaultHandling Cancel the default handling of DirectShow for an event code.
RestoreDefaultHandling Restore the default handling of DirectShow for an event code.

Typelib: MV SmartControl


Method IMVSCDirectShowEvents::CancelDefaultHandling

Declaration: Sub CancelDefaultHandling(EventCode As Long)

Cancel the default handling of DirectShow for an event code.

Parameter:

EventCode DirectShow event code. Look at the DirectShow SDK documentation for more details.
C Prototype:

HRESULT CancelDefaultHandling(LONG EventCode);


Method IMVSCDirectShowEvents::RestoreDefaultHandling

Declaration: Sub RestoreDefaultHandling(EventCode As Long)

Restore the default handling of DirectShow for an event code.

Parameter:

EventCode DirectShow event code. Look at the DirectShow SDK documentation for more details.
C Prototype:

HRESULT RestoreDefaultHandling(LONG EventCode);