advpack: Add a stub for AddDelBackupEntry.

This commit is contained in:
James Hawkins 2006-01-14 17:09:02 +01:00 committed by Alexandre Julliard
parent cfe45cc130
commit 9e9fe39774
3 changed files with 35 additions and 1 deletions

View File

@ -1,4 +1,4 @@
@ stub AddDelBackupEntry @ stdcall AddDelBackupEntry(str str str long)
@ stdcall AdvInstallFile(long str str str str long long) @ stdcall AdvInstallFile(long str str str str long long)
@ stub CloseINFEngine @ stub CloseINFEngine
@ stdcall DelNode(str long) @ stdcall DelNode(str long)

View File

@ -31,6 +31,34 @@
WINE_DEFAULT_DEBUG_CHANNEL(advpack); 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:\ */ /* FIXME: this is only for the local case, X:\ */
#define ROOT_LENGTH 3 #define ROOT_LENGTH 3

View File

@ -46,6 +46,10 @@ typedef struct _StrTable {
typedef const STRTABLE CSTRTABLE; typedef const STRTABLE CSTRTABLE;
typedef CSTRTABLE *LPCSTRTABLE; typedef CSTRTABLE *LPCSTRTABLE;
/* Flags for AddDelBackupEntry */
#define AADBE_ADD_ENTRY 0x01
#define AADBE_DEL_ENTRY 0x02
/* Flags for AdvInstallFile */ /* Flags for AdvInstallFile */
#define AIF_WARNIFSKIP 0x00000001 #define AIF_WARNIFSKIP 0x00000001
#define AIF_NOSKIP 0x00000002 #define AIF_NOSKIP 0x00000002
@ -96,6 +100,8 @@ typedef CSTRTABLE *LPCSTRTABLE;
#define AFSR_USEREFCNT IE4_USEREFCNT #define AFSR_USEREFCNT IE4_USEREFCNT
#define AFSR_EXTRAINCREFCNT IE4_EXTRAINCREFCNT #define AFSR_EXTRAINCREFCNT IE4_EXTRAINCREFCNT
HRESULT WINAPI AddDelBackupEntry(LPCSTR lpcszFileList, LPCSTR lpcszBackupDir,
LPCSTR lpcszBaseName, DWORD dwFlags);
HRESULT WINAPI AdvInstallFile(HWND hwnd, LPCSTR lpszSourceDir, HRESULT WINAPI AdvInstallFile(HWND hwnd, LPCSTR lpszSourceDir,
LPCSTR lpszSourceFile, LPCSTR lpszDestDir, LPCSTR lpszDestFile, LPCSTR lpszSourceFile, LPCSTR lpszDestDir, LPCSTR lpszDestFile,
DWORD dwFlags, DWORD dwReserved); DWORD dwFlags, DWORD dwReserved);