#include #include #include #pragma comment(lib,"vfw32.lib") HWND ghWndCap ; //捕获窗的句柄 CAPDRIVERCAPS gCapDriverCaps ; //视频驱动器的能力 CAPSTATUS gCapStatus ; //捕获窗的状态 char szCaptureFile[] = "MYCAP.AVI"; char gachBuffer[20]; LRESULT CALLBACK WndProc(HWND,UINT,WPARAM,LPARAM); LRESULT CALLBACK StatusCallbackProc(HWND hWnd,int nID,LPSTR lpStatusText) { if(!ghW...
[ 查看全文 ]