Capturing Data

The following example uses the capCaptureSequence macro to start video capture and the capFileSaveAs macro to copy the captured data from the capture file to the file NEWFILE.AVI.

char szNewName[] = "NEWFILE.AVI";

// Set up the capture operation.

capCaptureSequence(hWndC); 

// Capture.

capFileSaveAs(hWndC, szNewName);