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
hwnd
Handle to a capture window.
szName
Pointer to an application-defined buffer used to return the name of the capture file as a null-terminated string.
wSize
Size, in bytes, of the application-defined buffer referenced by szName.
Return Values
Returns TRUE if successful or FALSE otherwise.
Remarks
The default capture filename is C:\CAPTURE.AVI.
Requirements
** Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
** Windows 95/98/Me:** Included in Windows 95 and later.
** Header:** Declared in Vfw.h.
See Also
Video Capture, Video Capture Macros, WM_CAP_FILE_GET_CAPTURE_FILE