IMVSCFilterGraph2

The IMVSCFilterGraph2 Interface extends the IMVSCFilterGraph interface with methods to load a filter configuration from a string.

Methods:

CheckVideoDeviceChange Check if any video device was removed or attached.
LoadConfigFromString Load a filter graph configuration from a string parameter.

Typelib: MV SmartControl

 

Method IMVSCFilterGraph2::CheckVideoDeviceChange

Declaration: Sub CheckVideoDeviceChange

Check if any video device was removed or attached. This method fires an _IMVSmartControlEventS::DeviceChanged event for every lost or new video device. Call this method on the WM_DEVICECHANGE windows message to get information about lost/new devices.

C Prototype:

HRESULT CheckVideoDeviceChange();


Method IMVSCFilterGraph2::LoadConfigFromString

Declaration: Sub LoadConfigFromString(ConfigData As String)

Load a filter graph configuration from a string parameter.

Parameter:

ConfigData A string with the filter graph configuration data.
C Prototype:

HRESULT LoadConfigFromString(BSTR ConfigData);