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

资源简介


资源截图

代码片段和文件信息

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

using System.Runtime.InteropServices;

namespace Ex13_10
{
    ///      
    ///   一个控制摄像头的类   
    ///   
   
    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;
        pr

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-02-22 21:38  .vs\
     目录           0  2018-02-22 21:38  .vs\Ex13_10\
     目录           0  2018-02-22 21:40  .vs\Ex13_10\v15\
     文件       34816  2018-02-22 21:52  .vs\Ex13_10\v15\.suo
     目录           0  2018-02-22 21:40  .vs\Ex13_10\v15\Server\
     目录           0  2018-02-22 21:52  .vs\Ex13_10\v15\Server\sqlite3\
     文件           0  2018-02-22 21:40  .vs\Ex13_10\v15\Server\sqlite3\db.lock
     文件      995328  2018-02-22 21:52  .vs\Ex13_10\v15\Server\sqlite3\storage.ide
     目录           0  2018-02-22 21:39  Backup\
     目录           0  2018-02-22 21:39  Backup\Ex13_10\
     文件         910  2007-07-11 11:33  Backup\Ex13_10.sln
     文件        5451  2007-07-11 11:33  Backup\Ex13_10\Class1.cs
     文件        3258  2007-07-11 11:33  Backup\Ex13_10\Ex13_10.csproj
     文件        7820  2007-07-11 11:33  Backup\Ex13_10\Form1.cs
     文件       15563  2007-07-11 11:33  Backup\Ex13_10\Form1.Designer.cs
     文件        6008  2007-07-11 11:33  Backup\Ex13_10\Form1.resx
     文件         466  2007-07-11 11:33  Backup\Ex13_10\Program.cs
     目录           0  2018-02-22 21:39  Backup\Ex13_10\Properties\
     文件        1162  2007-07-11 11:33  Backup\Ex13_10\Properties\AssemblyInfo.cs
     文件        2868  2007-07-11 11:33  Backup\Ex13_10\Properties\Resources.Designer.cs
     文件        5612  2007-07-11 11:33  Backup\Ex13_10\Properties\Resources.resx
     文件        1090  2007-07-11 11:33  Backup\Ex13_10\Properties\Settings.Designer.cs
     文件         249  2007-07-11 11:33  Backup\Ex13_10\Properties\Settings.settings
     目录           0  2018-02-22 21:40  Ex13_10\
     文件        1117  2018-02-22 21:39  Ex13_10.sln
     文件       14336  2007-07-11 11:33  Ex13_10.suo
     目录           0  2010-04-06 13:10  Ex13_10\bin\
     目录           0  2018-02-22 21:46  Ex13_10\bin\Debug\
     文件       19968  2018-02-22 21:40  Ex13_10\bin\Debug\Ex13_10.exe
     文件       32256  2018-02-22 21:40  Ex13_10\bin\Debug\Ex13_10.pdb
     文件        5632  2007-07-11 11:33  Ex13_10\bin\Debug\Ex13_10.vshost.exe
............此处省略31个文件信息

评论

共有 条评论