---
name: "GetSaveFileNameA"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/GetSaveFileNameA"
---

# GetSaveFileNameA(3w)

## NAME

**GetSaveFileNameA** (COMDLG32.@)

## SYNOPSIS

BOOL GetSaveFileNameA\
  (\
   LPOPENFILENAMEA *ofn*\
  )

## PARAMS

*ofn* **\[In/Out\]**  address of init structure.

## DESCRIPTION

Creates a dialog box for the user to select a file to save.

## RETURNS

**TRUE** on success: user enters a valid file **FALSE** on cancel, error, close or filename-does-not-fit-in-buffer.

## IMPLEMENTATION

Declared in **"commdlg.h"**.

Implemented in **"dlls/comdlg32/filedlg.c"**.

Debug channel **"commdlg"**.
