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

# AddDelBackupEntryW(3w)

## NAME

**AddDelBackupEntryW** (ADVPACK.@)

## SYNOPSIS

HRESULT AddDelBackupEntryW\
  (\
   LPCWSTR *lpcszFileList*,\
   LPCWSTR *lpcszBackupDir*,\
   LPCWSTR *lpcszBaseName*,\
   DWORD   *dwFlags*\
  )

## DESCRIPTION

Either appends the files in the file list to the backup section of the specified **INI**, or deletes the entries from the **INI** file.

## PARAMS

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

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

*lpcszBaseName* **\[In\]**  Basename of the **INI** file.

*dwFlags* **\[In\]**  **AADBE\_ADD\_ENTRY** adds the entries in the file list to the **INI** file, while **AADBE\_DEL\_ENTRY** removes the entries from the **INI** file.

## RETURNS

**S\_OK** in all cases.

## NOTES

If the **INI** file does not exist before adding entries to it, the file will be created.

If *lpcszBackupDir* is **NULL**, the **INI** file is assumed to exist in

**c:**552f it does not exist.

## IMPLEMENTATION

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

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

Debug channel **"advpack"**.
