资源简介

得安装摄像头驱动!!

摄像头监控录像源代码,里面有很详细的代码,可以直接拿来驱动摄像头程序,也可以直接用来学习,代码不可以商用哦

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Text;

using System.Runtime.InteropServices;

namespace Ex13_09
{
    public class cVideo  //摄像头控制类
    {
        //导入API函数
        [DllImport(“avicap32.dll“)]
        private static extern IntPtr capCreateCaptureWindowA(byte[] lpszWindowName int dwstyle int x int y int nWidth int nHeight IntPtr hWndParent int nID);
        [DllImport(“avicap32.dll“)]
        private static extern int capGetVideoFormat(IntPtr hWnd IntPtr psVideoFormat int wSize);
        [DllImport(“User32.dll“)]
        private static extern bool SendMessage(IntPtr hWnd int wMsg int wParam int lParam);
        //常量设置
        private const int WM_USER = 0x400;
        private const int WS_CHILD = 0x40000000;
        private const i

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      24576  2007-07-11 11:33  Ex13_09\Ex13_09\bin\Debug\Ex13_09.exe

     文件      28160  2007-07-11 11:33  Ex13_09\Ex13_09\bin\Debug\Ex13_09.pdb

     文件       5632  2007-07-11 11:33  Ex13_09\Ex13_09\bin\Debug\Ex13_09.vshost.exe

     目录          0  2009-04-03 13:28  Ex13_09\Ex13_09\bin\Debug

     目录          0  2009-04-03 13:28  Ex13_09\Ex13_09\bin

     文件       5090  2007-07-11 11:33  Ex13_09\Ex13_09\Class1.cs

     文件       3258  2007-07-11 11:33  Ex13_09\Ex13_09\Ex13_09.csproj

     文件       1141  2007-07-11 11:33  Ex13_09\Ex13_09\Form1.cs

     文件       4318  2007-07-11 11:33  Ex13_09\Ex13_09\Form1.Designer.cs

     文件       5814  2007-07-11 11:33  Ex13_09\Ex13_09\Form1.resx

     文件        842  2007-07-11 11:33  Ex13_09\Ex13_09\obj\Debug\Ex13_09.csproj.GenerateResource.Cache

     文件      24576  2007-07-11 11:33  Ex13_09\Ex13_09\obj\Debug\Ex13_09.exe

     文件        180  2007-07-11 11:33  Ex13_09\Ex13_09\obj\Debug\Ex13_09.Form1.resources

     文件      28160  2007-07-11 11:33  Ex13_09\Ex13_09\obj\Debug\Ex13_09.pdb

     文件        180  2007-07-11 11:33  Ex13_09\Ex13_09\obj\Debug\Ex13_09.Properties.Resources.resources

     目录          0  2009-04-03 13:28  Ex13_09\Ex13_09\obj\Debug\Refactor

     目录          0  2009-04-03 13:28  Ex13_09\Ex13_09\obj\Debug\TempPE

     目录          0  2009-04-03 13:28  Ex13_09\Ex13_09\obj\Debug

     文件        268  2007-07-11 11:33  Ex13_09\Ex13_09\obj\Ex13_09.csproj.FileList.txt

     目录          0  2009-04-03 13:28  Ex13_09\Ex13_09\obj

     文件        466  2007-07-11 11:33  Ex13_09\Ex13_09\Program.cs

     文件       1162  2007-07-11 11:33  Ex13_09\Ex13_09\Properties\AssemblyInfo.cs

     文件       2868  2007-07-11 11:33  Ex13_09\Ex13_09\Properties\Resources.Designer.cs

     文件       5612  2007-07-11 11:33  Ex13_09\Ex13_09\Properties\Resources.resx

     文件       1090  2007-07-11 11:33  Ex13_09\Ex13_09\Properties\Settings.Designer.cs

     文件        249  2007-07-11 11:33  Ex13_09\Ex13_09\Properties\Settings.settings

     目录          0  2009-04-03 13:28  Ex13_09\Ex13_09\Properties

     目录          0  2009-04-03 13:28  Ex13_09\Ex13_09

     文件        910  2007-07-11 11:33  Ex13_09\Ex13_09.sln

     文件      13312  2007-07-11 11:33  Ex13_09\Ex13_09.suo

............此处省略4个文件信息

评论

共有 条评论