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.
Creating the Save dialog box to specify the drive, directory, and name of a file to save
BOOL GetSaveFileName(
LPOPENFILENAME lpofn // initialization data
); DECLARE INTEGER GetSaveFileName IN comdlg32;
STRING @lpofn lpofn [in/out] Pointer to an OPENFILENAME structure that contains information used to initialize the dialog box.
If the user specifies a file name and clicks the OK button and the function is successful, the return value is nonzero.
Home