TVideoGrabber.VideoDeviceIndex

Prev

Next

TVideoGrabber

Methods

 




































































































Returns the index of a given audio device in the VideoDevices list.


Declaration
function VideoDeviceIndex(Value: String): LongInt;


int __fastcall VideoDeviceIndex(wchar_t *Value)


Function VideoDeviceIndex(param1 As String) As Long

Description

Used to retrieve the index of a given video device in the VideoDevices list.

The function accepts wild chars. E.g.:

VideoGrabber1.VideoDevice := VideoDeviceIndex ('Microsoft DV Camera and VCR (WDM)'); // selects the "Microsoft DV Camera and VCR (WDM)" video device.
VideoGrabber1.VideoDevice := VideoDeviceIndex ('Microsoft DV Camera*');              // selects the 1st video device that begins with "Microsoft DV Camera".
VideoGrabber1.VideoDevice := VideoDeviceIndex ('*DV Camera*');                       // selects the 1st video device that contains "DV Camera".


See Also
WDM drivers AutoConnectRelatedPins CurrentFrameRate DeliveredFrames DroppedFrames FixFlickerOrBlackCapture IsDVDevice IsVideoControlAvailable IsVideoCrossbarAvailable IsVideoDeviceConnected IsWDMVideoDriver OnNoVideoDevices OnVideoDeviceSelected RefreshDevicesAndCompressorsLists ResetVideoDeviceSettings ShowDialog VideoDevice VideoDeviceIndexFromId VideoDeviceName VideoDevices VideoDevicesCount VideoDevicesId WebcamStillCaptureButton