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

# FileSaveRestoreW(3w)

## NAME

**FileSaveRestoreW** (ADVPACK.@)

## SYNOPSIS

HRESULT FileSaveRestoreW\
  (\
   HWND   *hDlg*,\
   LPWSTR *pszFileList*,\
   LPWSTR *pszDir*,\
   LPWSTR *pszBaseName*,\
   DWORD  *dwFlags*\
  )

## DESCRIPTION

Saves or restores the files in the specified file list.

## PARAMS

*hDlg* **\[In\]**  Handle to the dialog used for the display.

*pszFileList* **\[In\]**  NULL-separated list of filenames.

*pszDir* **\[In\]**  Path of the backup directory.

*pszBaseName* **\[In\]**  Basename of the backup files.

*dwFlags* **\[In\]**  See advpub.h.

## RETURNS

**Success:** **S\_OK**.

**Failure:** **E\_FAIL**.

## NOTES

If *pszFileList* is **NULL** on restore, all files will be restored.

## BUGS

Unimplemented.

## IMPLEMENTATION

Declared in **"advpub.h"**.

Implemented in **"dlls/advpack/files.c"**.

Debug channel **"advpack"**.
