Share via


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.

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

MCI_SAVE