capFileGetCaptureFile

The capFileGetCaptureFile macro returns the name of the current capture file. You can use this macro or explicitly call the WM_CAP_FILE_GET_CAPTURE_FILE message.

BOOL capFileGetCaptureFile(
  hwnd,    
  szName,  
  wSize    
);
 

Parameters

wSize
Size, in bytes, of the application-defined buffer referenced by szName.
szName
Address of an application-defined buffer used to return the name of the capture file as a null-terminated string.

Return Values

Returns TRUE if successful or FALSE otherwise.

Remarks

The default capture filename is C:\CAPTURE.AVI.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in vfw.h.

See Also

Video Capture Overview, Video Capture Macros, WM_CAP_FILE_GET_CAPTURE_FILE