用vfw做摄像头程序的问题
if(PreViewFlag)//if it is a preview call
{
m_CaptureBmp.GetBitmap(&bm);
CDC dcMem;
dcMem.DeleteDC();
dcMem.CreateCompatibleDC(&dc);
dcMem.SelectObject(&m_CaptureBmp);
dc.StretchBlt(m_rect.TopLeft().x, m_rect.TopLeft().y,
m_rect.Width(), m_rect.Height(),
&dcMem,m_rect.TopLeft().x, m_rect.TopLeft().y,
m_rect.Width(), m_rect.Height(), SRCCOPY);
delete (dcMem);
}
请问这里的PreViewFlag是什么东西?
怎么没有定义编译的时候.