amcap source code源代码

上传者: jonfond | 上传时间: 2021-08-02 10:41:02 | 文件大小: 1.63MB | 文件类型: ZIP
amcap源代码,visual studio 亲测通过,打开摄像头设备。 // File: AMCap.h // // Desc: DirectShow sample code - audio/video capture. // // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ // Macros #define SAFE_RELEASE(x) { if (x) x->Release(); x = NULL; } // device notification definitions #if (WINVER < 0x0500) #define DBT_DEVTYP_DEVICEINTERFACE 0x00000005 // device interface class #define DEVICE_NOTIFY_WINDOW_HANDLE 0x00000000 typedef PVOID HDEVNOTIFY; #endif extern "C" { typedef BOOL (/* WINUSERAPI */ WINAPI *PUnregisterDeviceNotification)( IN HDEVNOTIFY Handle ); typedef HDEVNOTIFY (/* WINUSERAPI */ WINAPI *PRegisterDeviceNotificationA)( IN HANDLE hRecipient, IN LPVOID NotificationFilter, IN DWORD Flags ); typedef HDEVNOTIFY (/* WINUSERAPI */ WINAPI *PRegisterDeviceNotificationW)( IN HANDLE hRecipient, IN LPVOID NotificationFilter, IN DWORD Flags ); } #ifdef UNICODE #define PRegisterDeviceNotification PRegisterDeviceNotificationW #else #define PRegisterDeviceNotification PRegisterDeviceNotificationA #endif // !UNICODE #if (WINVER < 0x0500) typedef struct _DEV_BROADCAST_DEVICEINTERFACE_A { DWORD dbcc_size; DWORD dbcc_devicetype; DWORD dbcc_reserved; GUID dbcc_classguid; char dbcc_name[1]; } DEV_BROADCAST_DEVICEINTERFACE_A, *PDEV_BROADCAST_DEVICEINTERFACE_A; typedef struct _DEV_BROADCAST_DEVICEINTERFACE_W { DWORD dbcc_size; DWORD dbcc_devicetype; DWORD dbcc_reserved; GUID dbcc_classguid; wchar_t dbcc_name[1]; } DEV_BROADCAST_DEVICEINTERFACE_W, *PDEV_BROADCAST_DEVICEINTERFACE_W; #ifdef UNICODE typedef DEV_BROADCAST_DEVICEINTERFACE_W DEV_BROADCAST_DEVICEINTERFACE; typedef PDEV_BROADCAST_DEVICEINTERFACE_W PDEV_BROADCAST_DEVICEINTERFACE; #else typedef DEV_BROADCAST_DEVICEINTERF

文件下载

资源详情

[{"title":"( 96 个子文件 1.63MB ) amcap source code源代码","children":[{"title":"AMCap","children":[{"title":"amcap.ico <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"UpgradeLog2.XML <span style='color:#111;'> 3.42KB </span>","children":null,"spread":false},{"title":"amcap.sln.old <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"amcap.cpp <span style='color:#111;'> 151.08KB </span>","children":null,"spread":false},{"title":"amcap.vcxproj.filters <span style='color:#111;'> 1.93KB </span>","children":null,"spread":false},{"title":"amcap.vcproj <span style='color:#111;'> 11.39KB </span>","children":null,"spread":false},{"title":"amcap.v12.suo <span style='color:#111;'> 62.00KB </span>","children":null,"spread":false},{"title":"amcap.vcproj.7.00.old <span style='color:#111;'> 9.13KB </span>","children":null,"spread":false},{"title":"SampleCGB.h <span style='color:#111;'> 7.90KB </span>","children":null,"spread":false},{"title":"crossbar.cpp <span style='color:#111;'> 17.93KB </span>","children":null,"spread":false},{"title":"amcap.aps <span style='color:#111;'> 65.24KB </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"crossbar.h <span style='color:#111;'> 2.64KB </span>","children":null,"spread":false},{"title":"status.cpp <span style='color:#111;'> 8.79KB </span>","children":null,"spread":false},{"title":"amcap.suo.old <span style='color:#111;'> 42.50KB </span>","children":null,"spread":false},{"title":"amcap.rc <span style='color:#111;'> 6.20KB </span>","children":null,"spread":false},{"title":"amcap.h <span style='color:#111;'> 4.48KB </span>","children":null,"spread":false},{"title":"BaseClasses","children":[{"title":"refclock.cpp <span style='color:#111;'> 10.58KB </span>","children":null,"spread":false},{"title":"transip.h <span style='color:#111;'> 8.45KB </span>","children":null,"spread":false},{"title":"outputq.cpp <span style='color:#111;'> 23.40KB </span>","children":null,"spread":false},{"title":"reftime.h <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"amextra.h <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"seekpt.cpp <span style='color:#111;'> 2.45KB </span>","children":null,"spread":false},{"title":"ctlutil.h <span style='color:#111;'> 26.19KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"strmbasd.lib <span style='color:#111;'> 2.18MB </span>","children":null,"spread":false}],"spread":false},{"title":"wxdebug.cpp <span style='color:#111;'> 43.28KB </span>","children":null,"spread":false},{"title":"winctrl.h <span style='color:#111;'> 9.83KB </span>","children":null,"spread":false},{"title":"videoctl.cpp <span style='color:#111;'> 21.10KB </span>","children":null,"spread":false},{"title":"seekpt.h <span style='color:#111;'> 815B </span>","children":null,"spread":false},{"title":"cprop.h <span style='color:#111;'> 4.16KB </span>","children":null,"spread":false},{"title":"amfilter.cpp <span style='color:#111;'> 148.94KB </span>","children":null,"spread":false},{"title":"pstream.cpp <span style='color:#111;'> 4.62KB </span>","children":null,"spread":false},{"title":"wxutil.cpp <span style='color:#111;'> 31.72KB </span>","children":null,"spread":false},{"title":"source.h <span style='color:#111;'> 5.60KB </span>","children":null,"spread":false},{"title":"wxutil.h <span style='color:#111;'> 15.14KB </span>","children":null,"spread":false},{"title":"wxlist.cpp <span style='color:#111;'> 24.03KB </span>","children":null,"spread":false},{"title":"refclock.h <span style='color:#111;'> 7.00KB </span>","children":null,"spread":false},{"title":"dllsetup.h <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"measure.h <span style='color:#111;'> 7.96KB </span>","children":null,"spread":false},{"title":"pullpin.cpp <span style='color:#111;'> 10.22KB </span>","children":null,"spread":false},{"title":"transfrm.cpp <span style='color:#111;'> 27.69KB </span>","children":null,"spread":false},{"title":"transip.cpp <span style='color:#111;'> 33.39KB </span>","children":null,"spread":false},{"title":"wxlist.h <span style='color:#111;'> 18.97KB </span>","children":null,"spread":false},{"title":"ddmm.cpp <span style='color:#111;'> 3.06KB </span>","children":null,"spread":false},{"title":"combase.h <span style='color:#111;'> 10.44KB </span>","children":null,"spread":false},{"title":"winctrl.cpp <span style='color:#111;'> 65.53KB </span>","children":null,"spread":false},{"title":"amvideo.cpp <span style='color:#111;'> 9.38KB </span>","children":null,"spread":false},{"title":"winutil.cpp <span style='color:#111;'> 91.79KB </span>","children":null,"spread":false},{"title":"renbase.h <span style='color:#111;'> 20.34KB </span>","children":null,"spread":false},{"title":"amfilter.h <span style='color:#111;'> 55.55KB </span>","children":null,"spread":false},{"title":"source.cpp <span style='color:#111;'> 12.17KB </span>","children":null,"spread":false},{"title":"wxdebug.h <span style='color:#111;'> 13.35KB </span>","children":null,"spread":false},{"title":"strmctl.cpp <span style='color:#111;'> 12.62KB </span>","children":null,"spread":false},{"title":"pullpin.h <span style='color:#111;'> 4.32KB </span>","children":null,"spread":false},{"title":"pstream.h <span style='color:#111;'> 4.15KB </span>","children":null,"spread":false},{"title":"outputq.h <span style='color:#111;'> 4.60KB </span>","children":null,"spread":false},{"title":"cprop.cpp <span style='color:#111;'> 10.16KB </span>","children":null,"spread":false},{"title":"mtype.h <span style='color:#111;'> 2.92KB </span>","children":null,"spread":false},{"title":"Release","children":[{"title":"strmbase.lib <span style='color:#111;'> 2.17MB </span>","children":null,"spread":false}],"spread":false},{"title":"schedule.cpp <span style='color:#111;'> 7.74KB </span>","children":null,"spread":false},{"title":"amextra.cpp <span style='color:#111;'> 3.01KB </span>","children":null,"spread":false},{"title":"videoctl.h <span style='color:#111;'> 7.60KB </span>","children":null,"spread":false},{"title":"ctlutil.cpp <span style='color:#111;'> 52.14KB </span>","children":null,"spread":false},{"title":"activex.ver <span style='color:#111;'> 1.93KB </span>","children":null,"spread":false},{"title":"sysclock.h <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"combase.cpp <span style='color:#111;'> 7.35KB </span>","children":null,"spread":false},{"title":"dllentry.cpp <span style='color:#111;'> 8.75KB </span>","children":null,"spread":false},{"title":"streams.h <span style='color:#111;'> 6.92KB </span>","children":null,"spread":false},{"title":"msgthrd.h <span style='color:#111;'> 3.42KB </span>","children":null,"spread":false},{"title":"transfrm.h <span style='color:#111;'> 9.36KB </span>","children":null,"spread":false},{"title":"fourcc.h <span style='color:#111;'> 2.02KB </span>","children":null,"spread":false},{"title":"strmctl.h <span style='color:#111;'> 6.02KB </span>","children":null,"spread":false},{"title":"renbase.cpp <span style='color:#111;'> 96.61KB </span>","children":null,"spread":false},{"title":"activex.rcv <span style='color:#111;'> 3.42KB </span>","children":null,"spread":false},{"title":"winutil.h <span style='color:#111;'> 16.05KB </span>","children":null,"spread":false},{"title":"dllsetup.cpp <span style='color:#111;'> 17.68KB </span>","children":null,"spread":false},{"title":"vtrans.cpp <span style='color:#111;'> 17.09KB </span>","children":null,"spread":false},{"title":"ddmm.h <span style='color:#111;'> 962B </span>","children":null,"spread":false},{"title":"dsschedule.h <span style='color:#111;'> 4.28KB </span>","children":null,"spread":false},{"title":"vtrans.h <span style='color:#111;'> 6.61KB </span>","children":null,"spread":false},{"title":"mtype.cpp <span style='color:#111;'> 11.78KB </span>","children":null,"spread":false},{"title":"baseclasses.vcxproj <span style='color:#111;'> 7.88KB </span>","children":null,"spread":false},{"title":"sysclock.cpp <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"cache.h <span style='color:#111;'> 2.81KB </span>","children":null,"spread":false}],"spread":false},{"title":"Release","children":[{"title":"amcap.exe <span style='color:#111;'> 87.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"amcap.vcxproj <span style='color:#111;'> 17.76KB </span>","children":null,"spread":false},{"title":"makefile.x64 <span style='color:#111;'> 15.54KB </span>","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'> 297B </span>","children":null,"spread":false},{"title":"amcap.jpg <span style='color:#111;'> 16.41KB </span>","children":null,"spread":false},{"title":"amcap.suo <span style='color:#111;'> 42.50KB </span>","children":null,"spread":false},{"title":"UpgradeLog.XML <span style='color:#111;'> 4.29KB </span>","children":null,"spread":false},{"title":"amcap.vcxproj.user <span style='color:#111;'> 143B </span>","children":null,"spread":false},{"title":"amcap.sln <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"amcap.vcproj.VAIO-PC.VAIO.user <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"SampleCGB.cpp <span style='color:#111;'> 44.99KB </span>","children":null,"spread":false},{"title":"status.h <span style='color:#111;'> 832B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明