Previewing Video

The following example uses the capPreviewRate.PWZ.B macro to set the frame display rate for preview mode to 66 milliseconds per frame and then uses the capPreview7E6LLE macro to place the capture window in preview mode.

capPreviewRate(hWndC, 66);     // rate, in milliseconds

capPreview(hWndC, TRUE);       // starts preview

 

// Preview

 

capPreview(hWnd, FALSE);        // disables preview