Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.02 KB

File metadata and controls

41 lines (28 loc) · 1.02 KB

Home

Function name : GetSaveFileName

Group: Common Dialog Box - Library: comdlg32


The GetSaveFileName function creates a Save dialog box that lets the user specify the drive, directory, and name of a file to save.


Code examples:

Creating the Save dialog box to specify the drive, directory, and name of a file to save

Declaration:

BOOL GetSaveFileName(
  LPOPENFILENAME lpofn   // initialization data
);  

FoxPro declaration:

DECLARE INTEGER GetSaveFileName IN comdlg32;
	STRING @lpofn  

Parameters:

lpofn [in/out] Pointer to an OPENFILENAME structure that contains information used to initialize the dialog box.


Return value:

If the user specifies a file name and clicks the OK button and the function is successful, the return value is nonzero.