91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

基于Visual C++的屏幕錄像完整源代碼。好難找的資源

資源截圖

代碼片段和文件信息

//?CoalitionDlg.cpp?:?implementation?file
//

#include?“stdafx.h“
#include?“Kinescope.h“
#include?“CoalitionDlg.h“

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
//?CCoalitionDlg?dialog


CCoalitionDlg::CCoalitionDlg(CWnd*?pParent?/*=NULL*/)
:?CDialog(CCoalitionDlg::IDD?pParent)
{
//{{AFX_DATA_INIT(CCoalitionDlg)
//?NOTE:?the?ClassWizard?will?add?member?initialization?here
//}}AFX_DATA_INIT
}


void?CCoalitionDlg::DoDataExchange(CDataExchange*?pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CCoalitionDlg)
DDX_Control(pDX?IDC_LIST1?m_List);
//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CCoalitionDlg?CDialog)
//{{AFX_MSG_MAP(CCoalitionDlg)
ON_BN_CLICKED(IDC_BUTADD?OnButadd)
ON_BN_CLICKED(IDC_BUTCOALITION?OnButcoalition)
ON_BN_CLICKED(IDC_BUTDEL?OnButdel)
ON_BN_CLICKED(IDC_BUTCLEAR?OnButclear)
ON_BN_CLICKED(IDC_BUTUP?OnButup)
ON_BN_CLICKED(IDC_BUTDOWN?OnButdown)
ON_BN_CLICKED(IDC_BUTEXIT?OnButexit)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CCoalitionDlg?message?handlers

void?CCoalitionDlg::OnButadd()?
{
//?TODO:?Add?your?control?notification?handler?code?here
if(m_List.GetCount()==10)
{
MessageBox(“一次只能合成10個文件“);
return;
}
CFileDialog?dlg(TRUENULLNULLOFN_HIDEREADONLY|OFN_OVERWRITEPROMPT
“(*.avi)|*.avi|?|“AfxGetMainWnd());
CString?strPath;
if(dlg.DoModal()?==?IDOK)
{
strPath?=?dlg.GetPathName();
if(strPath.Right(4)?!=?“.avi“)
strPath?+=?“.avi“;
}
m_List.InsertString(m_List.GetCount()strPath);
}

void?CCoalitionDlg::OnButcoalition()?
{
//?TODO:?Add?your?control?notification?handler?code?here
CFileDialog?dlg(FALSENULLNULLOFN_HIDEREADONLY|OFN_OVERWRITEPROMPT
“(*.avi)|*.avi|?|“AfxGetMainWnd());
CString?strPathstrText=““;
if(dlg.DoModal()?==?IDOK)
{
strPath?=?dlg.GetPathName();
if(strPath.Right(4)?!=?“.avi“)
strPath?+=?“.avi“;
}
PAVISTREAM?ps;?
PAVISTREAM?pstream[20];?
PAVISTREAM?pComStream;
AVISTREAMINFO?strhdr;
PAVIFILE?pfile[20];
HRESULT?hr;?
int?m_Start=0m_Stop=0;
PAVIFILE?pfileto;
AVICOMPRESSOPTIONS?pCompressOption;???
AVICOMPRESSOPTIONS?FAR?*?opts[1]?=?{&pCompressOption};??
int?nframes?=?0;
AVIFileInit(); //初始化AVIFile函數庫
CString?m_Name;
m_List.GetText(0m_Name);
AVIFileOpen(&pfile[0]m_NameOF_READ?NULL); //打開源文件
AVIFILEINFO?pfinfo;
AVIFileInfo(pfile[0]&pfinfosizeof(AVIFILEINFO));?
AVIFileGetStream(pfile[0]?&pstream[0]?streamtypeVIDEO?0?); //獲取視頻流
//獲取流信息
AVISTREAMINFO?streaminfo;
AVIStreamInfo(pstream[0]&streaminfosizeof(AVISTREAMINFO));
PGETframe?pframe; //定義幀接口對象
pframe=AVIStreamGetframeOpen(pstream[0]NULL); //在流中打開幀
m_Start?=?AVIStreamStart(pstream[0]); //獲取流的起始幀
m_Stop?=?AVIStreamLength(pstream[0]); //獲

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2011-11-01?12:41??Kinescope\
?????文件????????7198??2008-09-19?10:04??Kinescope\CoalitionDlg.cpp
?????文件????????1391??2008-09-08?16:11??Kinescope\CoalitionDlg.h
?????文件???????11397??2008-09-19?10:04??Kinescope\CutDlg.cpp
?????文件????????1693??2008-09-08?15:01??Kinescope\CutDlg.h
?????目錄???????????0??2011-11-01?16:19??Kinescope\Debug\
?????文件????????3678??2011-11-01?14:55??Kinescope\Debug\BuildLog.htm
?????文件???????43338??2011-11-01?14:55??Kinescope\Debug\CoalitionDlg.obj
?????文件????????9170??2011-11-01?14:55??Kinescope\Debug\CoalitionDlg.sbr
?????文件???????52435??2011-11-01?14:55??Kinescope\Debug\CutDlg.obj
?????文件???????12618??2011-11-01?14:55??Kinescope\Debug\CutDlg.sbr
?????文件???????19149??2011-11-01?14:55??Kinescope\Debug\frameDlg.obj
?????文件????????4504??2011-11-01?14:55??Kinescope\Debug\frameDlg.sbr
?????文件?????3580928??2010-11-04?10:08??Kinescope\Debug\Kinescope.bsc
?????文件?????2650112??2011-11-01?14:55??Kinescope\Debug\Kinescope.exe
?????文件???????18718??2011-11-01?14:55??Kinescope\Debug\Kinescope.obj
?????文件?????2517676??2010-11-04?10:08??Kinescope\Debug\Kinescope.res
?????文件????????6185??2011-11-01?14:55??Kinescope\Debug\Kinescope.sbr
?????文件??????163005??2011-11-01?14:55??Kinescope\Debug\KinescopeDlg.obj
?????文件???????54568??2011-11-01?14:55??Kinescope\Debug\KinescopeDlg.sbr
?????文件??????929844??2011-10-31?12:50??Kinescope\Debug\mfc42d.dll
?????文件??????798773??2011-10-31?12:51??Kinescope\Debug\mfco42d.dll
?????文件??????401484??2011-10-31?12:50??Kinescope\Debug\msvcrtd.dll
?????文件???????17411??2011-11-01?14:55??Kinescope\Debug\NameDlg.obj
?????文件????????3289??2011-11-01?14:55??Kinescope\Debug\NameDlg.sbr
?????文件??????306905??2011-11-01?14:55??Kinescope\Debug\StdAfx.obj
?????文件?????2309663??2011-11-01?14:55??Kinescope\Debug\StdAfx.sbr
?????文件??????222208??2010-11-14?22:40??Kinescope\Debug\vc60.idb
?????文件??????413696??2010-11-04?10:08??Kinescope\Debug\vc60.pdb
?????文件??????371712??2011-11-01?14:55??Kinescope\Debug\vc70.idb
?????文件?????1085440??2011-11-01?14:55??Kinescope\Debug\vc70.pdb
............此處省略35個文件信息

評論

共有 條評論