Commit 9e9fe397 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

advpack: Add a stub for AddDelBackupEntry.

parent cfe45cc1
@ stub AddDelBackupEntry
@ stdcall AddDelBackupEntry(str str str long)
@ stdcall AdvInstallFile(long str str str str long long)
@ stub CloseINFEngine
@ stdcall DelNode(str long)
......
......@@ -31,6 +31,34 @@
WINE_DEFAULT_DEBUG_CHANNEL(advpack);
/***********************************************************************
* AddDelBackupEntry (ADVPACK.@)
*
* Either marks the file in the file list as not existing during file
* save, or deletes the file entry from the INI.
*
* PARAMS
* lpcszFileList [I] NULL-separated list of filenames.
* lpcszBackupDir [I] Path of the backup directory.
* lpcszBaseName [I] Basename of the backup files.
* dwFlags [I] See advpub.h.
*
* RETURNS
* Success: S_OK.
* Failure: E_FAIL.
*
* BUGS
* Unimplemented.
*/
HRESULT WINAPI AddDelBackupEntry(LPCSTR lpcszFileList, LPCSTR lpcszBackupDir,
LPCSTR lpcszBaseName, DWORD dwFlags)
{
FIXME("(%p, %p, %p, %ld) stub\n", lpcszFileList, lpcszBackupDir,
lpcszBaseName, dwFlags);
return E_FAIL;
}
/* FIXME: this is only for the local case, X:\ */
#define ROOT_LENGTH 3
......
......@@ -46,6 +46,10 @@ typedef struct _StrTable {
typedef const STRTABLE CSTRTABLE;
typedef CSTRTABLE *LPCSTRTABLE;
/* Flags for AddDelBackupEntry */
#define AADBE_ADD_ENTRY 0x01
#define AADBE_DEL_ENTRY 0x02
/* Flags for AdvInstallFile */
#define AIF_WARNIFSKIP 0x00000001
#define AIF_NOSKIP 0x00000002
......@@ -96,6 +100,8 @@ typedef CSTRTABLE *LPCSTRTABLE;
#define AFSR_USEREFCNT IE4_USEREFCNT
#define AFSR_EXTRAINCREFCNT IE4_EXTRAINCREFCNT
HRESULT WINAPI AddDelBackupEntry(LPCSTR lpcszFileList, LPCSTR lpcszBackupDir,
LPCSTR lpcszBaseName, DWORD dwFlags);
HRESULT WINAPI AdvInstallFile(HWND hwnd, LPCSTR lpszSourceDir,
LPCSTR lpszSourceFile, LPCSTR lpszDestDir, LPCSTR lpszDestFile,
DWORD dwFlags, DWORD dwReserved);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment