PC SOFT

WINDEV的在线文档

文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

Connects the "Camera" control to a specific driver for video capture.

Note: To use this function, a "camera" must be connected to the current computer.

Reminder: 视频驱动列表 returns the list of drivers for video capture installed on the current computer. To find out which driver is currently associated with a Camera control, use ..驱动.

例子
// Displays the list of available video drivers
// in the LIST_VideoDrivers control
列表添加LIST_VideoDrivers视频驱动列表())
// Uses the second video driver
如果视频改变驱动CAM_Camera1LIST_VideoDrivers2】)=,那么
错误"Unable to change the driver: "+回车+...
错误信息())
结束

语法
<Result> = 视频改变驱动(<Name of Camera Control> , <Identifier of Video Driver>)
<Result>: Boolean
  • if the video driver associated with the control was modified,
  • if a problem occurred. To find out the error details, use 错误信息.
<Name of Camera Control>: Character string (with or without quotes)
Name of the Camera control to use.
<Identifier of Video Driver>: Character string (with quotes)
Identifier of the video driver to use. This identifier has the following format:
<Driver Name> + TAB + <Driver Version>

This identifier corresponds to the list format returned by 视频驱动列表.

组件
WinDev wd200obj.dll