Viscom Software VideoCap ActiveX Control

GetDeviceName Method

Description:   

Return the name of Video Device for specific index.. In some development tools, you cannot use Device Object, for this case, this method is useful.

Usage:   

VideoCap1.GetDeviceName Parameter1
 

Parameter:

Parameter1 - the index of Video Device.
 

Return Value:

Return the name of Video Device. If the index is not found, return empty string.

Example:   

The Visual Basic.Net example 

For i = 0 To AxVideoCap1.GetDeviceCount - 1
strVideoDeviceName = AxVideoCap1.GetDeviceName(i)
cbovideodevice.Items.Add(strVideoDeviceName)
Next