Пример #1
0
 public static extern bool GetSaveFileNameW(ref OpenFileName param0);
Пример #2
0
 /// <summary>
 /// The UNICODE version of GetSaveFileName function creates a Save dialog box that lets the user 
 /// specify the drive, directory, and name of a file to save.
 /// </summary>
 /// <param name="lpofn">Pointer to an OPENFILENAMEW structure that contains information used 
 /// to initialize the dialog box. When GetSaveFileName returns, this structure contains information
 /// about the user's file selection</param>
 /// <returns>If the user specifies a file name and clicks the OK button and the function is successful,
 /// the return value is nonzero. The buffer pointed to by the lpstrFile member of the OPENFILENAMEW 
 /// structure contains the full path and file name specified by the user. If the user cancels or 
 /// closes the Save dialog box or an error such as the file name buffer being too small occurs, the 
 /// return value is zero. To get extended error information, call the CommDlgExtendedError function</returns>
 public static bool GetSaveFileNameW(ref OpenFileName lpofn)
 {
     return Native.GetSaveFileNameW(ref lpofn);
 }