WM_CAP_FILE_GET_CAPTURE_FILE

The WM_CAP_FILE_GET_CAPTURE_FILE message returns the name of the current capture file. You can send this message explicitly or by using the capFileGetCaptureFile macro.

WM_CAP_FILE_GET_CAPTURE_FILE 
wParam = (WPARAM) (wSize); 
lParam = (LPARAM) (LPVOID) (LPSTR) (szName); 
 

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.
  Unicode: Defined as Unicode and ANSI messages.

See Also

Video Capture Overview, Video Capture Messages, capFileGetCaptureFile