视频捕捉系统_视频捕捉系统的设计VC146
只有源程序了,论文已经遗失
http://www.16sheji8.cn/
需要的朋友联系
#include <windows.h>
#include <vfw.h>
#include <commdlg.h>
#include "CapPicture.h"
LRESULT WINAPI MainWndProc( HWND, UINT, WPARAM, LPARAM ); //主要窗口程序
LRESULT WINAPI SelCapDrvProc( HWND, UINT, WPARAM, LPARAM );
int EnumCapDrv();
VOID APIENTRY HandlePopupMenu(HWND, POINT);
DWORD WINAPI videoThreadProc(LPVOID lParam);
HANDLE ghInstance;
HWND hwndMain;
HWND hwndVideo;
HWND hwndSelCapDrvDlg;
HWND hwndSelCapDrvDlg_LBox;
HWND hwndExit;
HWND hwndMin;
HWND hwndHelp;
HWND hwndRecord;
HANDLE hVideoThread;
HRGN hRegion1;
CAPDRIVERCAPS CapDrvCaps;
bool isRecordFileOpen = false;
char recordFile[260];
bool isPicFileOpen = false;
char pictureFile[260];
bool isRecording = false;
bool threadEnd = false;
//注册窗口类, 创建显示主要窗口 and enter message loop.
int PASCAL WinMain( HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpszCmdLine,
int nCmdShow )
{
WNDCLASS wc;http://www.16sheji8.cn/
MSG msg;
if( !hPrevInstance )
{