MCIWndSave

The MCIWndSave macro saves the content currently used by an MCI device. This macro can save the content to a specified data file or display the Save dialog box to let the user select a filename to store the content. You can use this macro or explicitly send the MCI_SAVE command.

LONG MCIWndSave(
  hwnd,  
  szFile 
);
 

Parameters

hwnd
Handle of the MCIWnd window.
szFile
Null-terminated string containing the name and path of the destination file. Specify – 1 for this parameter to display the Save dialog box.

Return Values

Returns zero if successful or an error otherwise.

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

MCIWnd Window Class Overview, MCIWnd Macros, MCI_SAVE