void CWinVideoGrabber::VideoDisplayDialog() { if (!inited) return; CAPDRIVERCAPS CapDrvCaps; capDriverGetCaps(videowindow, &CapDrvCaps, sizeof (CAPDRIVERCAPS)); if (CapDrvCaps.fHasDlgVideoDisplay) capDlgVideoDisplay(videowindow); }
//Description: shows a dialog box with web cam format options in it // not yet implemented because not sure which dialogs should be shown for given values //functions to call are commented out below //Input: the dialog to show //Output: none EXPORT void ShowDialog(long whichDialog) { if(whichDialog==0) { capDlgVideoFormat(hWndC); } else if(whichDialog==1) { capDlgVideoDisplay(hWndC); } }