Пример #1
0
void CSingleCamDlg::OnBnClickedBtnSavepicture2()
{
	BOOL isSave;

	char* filename = new char(20);
	sprintf(filename, "E:\\peng\\cam2.jpg");
	isSave = NET_DVR_CapturePicture(lRealHandle2, filename);
	if (isSave == FALSE)
		AfxMessageBox("抓取图片失败!");
}
Пример #2
0
void a(int b, int SIZE, LONG lRealHandle) // LONG lRealHandle,char *sPicFileName
{
	if (b > SIZE) return;

	++b;
	char* filename = new char(20);
	sprintf(filename, "E:\\peng\\B%d.jpg", b);
	// if (k = m - 1)
	NET_DVR_CapturePicture(lRealHandle, filename);
	a(b, SIZE, lRealHandle);

}
Пример #3
0
bool CDevHKPreview::CaptureFrame(char *sPicFileName)
{
    NET_DVR_CapturePicture(m_lRealHandle, sPicFileName);
}