IVsSaveOptionsDlg::ShowSaveOptionsDlg Method (UInt32, IntPtr, IntPtr)
Visual Studio 2015
Shows a dialog box from which to choose additional save format options.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int ShowSaveOptionsDlg( unsigned int dwReserved, IntPtr hwndDlgParent, IntPtr pszFilename )
Parameters
- dwReserved
-
Type:
System::UInt32
[in] Reserved. Do not use.
- hwndDlgParent
-
Type:
System::IntPtr
[in] The window to use as the save options dialog’s parent.
- pszFilename
-
Type:
System::IntPtr
[in] The absolute path of the file that is to be saved.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
[C++]
HRESULT IVsSaveOptionsDlg::ShowSaveOptionsDlg( [in] DWORD dwReserved, [in] HWND hwndDlgParent, [out] WCHAR * pszFileName );
The object is responsible for communicating the chosen options to the save operations and for deciding in what context the options should be persisted. If macro recording is on, the object must emit appropriate macro code to record the changes made to the options.
Show: