IVideoSourceComboBox
The IVideoSourceComboBox Interface from the MV Video Source Combo Box control contains various methods to setup the control.
Methods:
| AddSelObjectToFilterGraph | Create a filter object from the selected video device and add it to a filter graph. |
| DeviceCount | Available video device count. |
| Enabled | Enable the control. |
| GetSelectedDeviceObject | Creates a filter object from the current selected video device and returns it's IUnknown interface. |
| SelectedDevice | Display name from the current selected device. |
| SelectedDeviceName | Name from the current selected video device. |
Typelib: MV VideoSourceComboBox
Method IVideoSourceComboBox::AddSelObjectToFilterGraph
Declaration: Function AddSelObjectToFilterGraph(pFilterGraph As Unknown) As ObjectCreate a filter object from the selected video device and add it to a filter graph.
Parameter:
Prototype:
pFilterGraph IUnknown interface from the filter graph manager. HRESULT AddSelObjectToFilterGraph(IUnknow* pFilterGraph, IUnknown** value);
Property IVideoSourceComboBox::DeviceCount
Declaration: Property Get Enabled As LONG
Available video device count.
Prototype:HRESULT get_DeviceCount(int* count);
Property
IVideoSourceComboBox::Enabled
Declaration: Property Get/Put Enabled As Boolean
Enable the control.
Prototype:HRESULT put_Enabled(BOOL);
HRESULT get_Enabled(BOOL*);
Method IVideoSourceComboBox::GetSelectedDeviceObject
Declaration: Function GetSelectedDeviceObject As UnknownCreates a filter object from the current selected video device and returns it's IUnknown interface.
Prototype:HRESULT GetSelectedDeviceObject(IUnknown* value);
Property IVideoSourceComboBox::SelectedDevice
Declaration: Property Get/Put SelectedDevice As StringDisplay name from the current selected device.
Prototype:HRESULT put_SelectedDevice(BSTR);
HRESULT get_SelectedDevice(BSTR*);
Property IVideoSourceComboBox::SelectedDeviceName
Declaration: Property Get SelectedDeviceName As StringName from the current selected video device.
Prototype:HRESULT get_SelectedDeviceName(BSTR*);