PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Connects the "Camera" control to a specific driver for video capture.
Remarks:
  • To use this function, a "camera" must be connected to the current computer.
  • This function is equivalent to VideoSetDriver.
Reminder: To find out the list of drivers for video capture installed on the current computer, use CameraListDriver. To know which driver is currently associated with an Camera control, use the Property Driver.
// Affiche la liste des drivers vidéo disponibles
// dans le champ LISTE_DriverVidéo
ListAdd(LISTE_DriverVidéo, CameraListDriver())
// Utilise le deuxième driver Vidéo
IF CaméraChangeDriver(CAM_Camera1, LISTE_DriverVidéo[2]) = False THEN
Error("Changement de driver impossible: " + CR + ...
ErrorInfo())
END
Syntax
<Result> = CameraChangeDriver(<Camera control> , <Identifier of video driver>)
<Result>: Boolean
  • True if the video driver associated with the control was modified,
  • False if a problem occurred. To get the details of the error, use ErrorInfo.
<Camera control>: Control name
Name of Camera control to use.
<Identifier of video driver>: Character string (with quotes)
Identifier of video driver to use. This identifier has the following format:
<Nom du driver> + TAB + <Version du driver>
This identifier corresponds to the list format returned by CameraListDriver.
Component: wd260obj.dll
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment