AddDelBackupEntryW.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

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:f it does not exist.

IMPLEMENTATION

Defined in "advpub.h".

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

Debug channel "advpack".