IFileSaveDialog::SetSaveAsItem method (shobjidl_core.h)
Sets an item to be used as the initial entry in a Save As dialog.
HRESULT SetSaveAsItem( [in] IShellItem *psi );
Pointer to an IShellItem that represents the item.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
The name of the item is displayed in the file name edit box, and the containing folder is opened in the view. This would generally be used when the application is saving an item that already exists. For new items, use IFileDialog::SetFileName.
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2008 [desktop apps only]|