• 大小: 0.12M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: 摄像头  C#  c  摄像  

资源简介


资源截图

代码片段和文件信息

using System; 
using System.Collections.Generic; 
using System.Linq; 
using System.Text; 
using System.Drawing; 
using System.Runtime.InteropServices; 
using System.Threading; 
using System.Windows.Forms; 
using System.IO; 

namespace WindowsFormsApplication2
{
    public class VideoAPI
    {
        // 视频API调用 
        [DllImport(“avicap32.dll“)]//包含了执行视频捕获的函数,它给AVI文件I/O和视频、音频设备驱动程序提供一个高级接口 
        public static extern IntPtr capCreateCaptureWindow(string lpszWindowName int dwstyle int x int y int nWidth int nHeight IntPtr hwndParent int nID);
        [DllImport(“AVICAP32.dll“ CharSet = CharSet.Unicode)]
        public static extern bool capGetDriverDescription(int wDriverIndex StringBuilder lpszName int cbName StringBuilder lpszVer int cbVer);
        [Dll

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-11-11 11:37  调用本机摄像头\
     目录           0  2015-11-27 09:11  调用本机摄像头\WindowsFormsApplication2\
     目录           0  2015-11-27 09:11  调用本机摄像头\WindowsFormsApplication2\Backup\
     目录           0  2015-11-27 09:11  调用本机摄像头\WindowsFormsApplication2\Backup\WindowsFormsApplication2\
     文件         962  2015-11-06 15:52  调用本机摄像头\WindowsFormsApplication2\Backup\WindowsFormsApplication2.sln
     文件       21504  2015-11-06 15:52  调用本机摄像头\WindowsFormsApplication2\Backup\WindowsFormsApplication2.suo
     文件       36676  2015-11-06 15:52  调用本机摄像头\WindowsFormsApplication2\Backup\WindowsFormsApplication2\ClassVideoAPI.cs
     文件        1369  2015-11-06 15:52  调用本机摄像头\WindowsFormsApplication2\Backup\WindowsFormsApplication2\Form1.cs
     文件        6150  2015-11-06 15:52  调用本机摄像头\WindowsFormsApplication2\Backup\WindowsFormsApplication2\Form1.Designer.cs
     文件         505  2015-11-06 15:52  调用本机摄像头\WindowsFormsApplication2\Backup\WindowsFormsApplication2\Program.cs
     目录           0  2015-11-27 09:11  调用本机摄像头\WindowsFormsApplication2\Backup\WindowsFormsApplication2\Properties\
     文件        1398  2015-11-06 15:52  调用本机摄像头\WindowsFormsApplication2\Backup\WindowsFormsApplication2\Properties\AssemblyInfo.cs
     文件        2898  2015-11-06 15:52  调用本机摄像头\WindowsFormsApplication2\Backup\WindowsFormsApplication2\Properties\Resources.Designer.cs
     文件        5612  2015-11-06 15:52  调用本机摄像头\WindowsFormsApplication2\Backup\WindowsFormsApplication2\Properties\Resources.resx
     文件        1109  2015-11-06 15:52  调用本机摄像头\WindowsFormsApplication2\Backup\WindowsFormsApplication2\Properties\Settings.Designer.cs
     文件         249  2015-11-06 15:52  调用本机摄像头\WindowsFormsApplication2\Backup\WindowsFormsApplication2\Properties\Settings.settings
     文件        3686  2015-11-06 15:52  调用本机摄像头\WindowsFormsApplication2\Backup\WindowsFormsApplication2\WindowsFormsApplication2.csproj
     文件        4711  2015-11-06 15:52  调用本机摄像头\WindowsFormsApplication2\UpgradeLog.xml
     目录           0  2015-11-27 09:11  调用本机摄像头\WindowsFormsApplication2\WindowsFormsApplication2\
     文件         962  2015-11-06 15:52  调用本机摄像头\WindowsFormsApplication2\WindowsFormsApplication2.sln
     文件       29696  2015-11-11 12:24  调用本机摄像头\WindowsFormsApplication2\WindowsFormsApplication2.suo
     目录           0  2015-11-27 09:11  调用本机摄像头\WindowsFormsApplication2\WindowsFormsApplication2\bin\
     目录           0  2015-11-27 09:11  调用本机摄像头\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\
     文件       19456  2015-11-11 11:40  调用本机摄像头\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.exe
     文件       48640  2015-11-11 11:40  调用本机摄像头\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.pdb
     文件       11608  2015-11-11 11:52  调用本机摄像头\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.vshost.exe
     文件         490  2012-06-06 02:06  调用本机摄像头\WindowsFormsApplication2\WindowsFormsApplication2\bin\Debug\WindowsFormsApplication2.vshost.exe.manifest
     目录           0  2015-11-06 15:52  调用本机摄像头\WindowsFormsApplication2\WindowsFormsApplication2\bin\Release\
     文件       37266  2015-11-06 15:52  调用本机摄像头\WindowsFormsApplication2\WindowsFormsApplication2\Camera.cs
     文件        2362  2015-11-06 15:52  调用本机摄像头\WindowsFormsApplication2\WindowsFormsApplication2\Class1.cs
     文件       23354  2015-11-06 15:52  调用本机摄像头\WindowsFormsApplication2\WindowsFormsApplication2\Class2.cs
............此处省略31个文件信息

评论

共有 条评论