|
FrameReady
|
|
| None
|
| S_OK
|
| Success
|
| E_FAIL
|
| Failure.
|
| ....
|
| m_ActiveGige.SetDisplay(FALSE)
|
| ....
|
|
|
| void CGcamProDlg::OnFrameReadyActivedcam1()
|
| {
|
| BYTE *ptr=m_ActiveDcam.GetImagePointer(0, m_ActiveDcam.GetSizeY()-1);
|
| int nSize=m_ActiveDcam.GetSizeX()*m_ActiveDcam.GetSizeY();
|
| int max=255;
|
| for(int y=0;y<nSize;y++,ptr++)
|
| *ptr=(*ptr+16)*2;
|
| m_ActiveDcam.SetDraw(TRUE);
|
| }
|
|
|
| The Acquire property has been set to TRUE
|
| The Grab method has been called.
|