Export (0) Print
Expand All

Naming the Capture File

The following example uses the capFileSetCaptureFile macro to specify an alternate filename (MYCAP.AVI) for the capture file and the capFileAlloc macro to preallocate a file of 5 MB.

char szCaptureFile[] = "MYCAP.AVI";

capFileSetCaptureFile( hWndC, szCaptureFile); 
capFileAlloc( hWndC, (1024L * 1024L * 5)); 

Related topics

Using Video Capture



Community Additions

© 2014 Microsoft