advpack: Implement FileSaveMarkNotExistW.

This commit is contained in:
James Hawkins 2006-03-22 14:40:55 -06:00 committed by Alexandre Julliard
parent cfbc26f3e6
commit bed3d4d3eb
2 changed files with 15 additions and 3 deletions

View File

@ -20,7 +20,7 @@
# stdcall ExtractFilesW(wstr wstr long ptr ptr long)
@ stdcall ExtractFiles(str str long ptr ptr long) ExtractFilesA
@ stdcall FileSaveMarkNotExistA(str str str)
# stdcall FileSaveMarkNotExistW(wstr wstr wstr)
@ stdcall FileSaveMarkNotExistW(wstr wstr wstr)
@ stdcall FileSaveMarkNotExist(str str str) FileSaveMarkNotExistA
@ stdcall FileSaveRestoreA(ptr str str str long)
# stdcall FileSaveRestoreW(ptr wstr wstr wstr long)

View File

@ -724,6 +724,18 @@ done:
/***********************************************************************
* FileSaveMarkNotExistA (ADVPACK.@)
*
* See FileSaveMarkNotExistW.
*/
HRESULT WINAPI FileSaveMarkNotExistA(LPSTR pszFileList, LPSTR pszDir, LPSTR pszBaseName)
{
TRACE("(%p, %p, %p)\n", pszFileList, pszDir, pszBaseName);
return AddDelBackupEntryA(pszFileList, pszDir, pszBaseName, AADBE_DEL_ENTRY);
}
/***********************************************************************
* FileSaveMarkNotExistW (ADVPACK.@)
*
* Marks the files in the file list as not existing so they won't be
* backed up during a save.
*
@ -736,11 +748,11 @@ done:
* Success: S_OK.
* Failure: E_FAIL.
*/
HRESULT WINAPI FileSaveMarkNotExistA(LPSTR pszFileList, LPSTR pszDir, LPSTR pszBaseName)
HRESULT WINAPI FileSaveMarkNotExistW(LPWSTR pszFileList, LPWSTR pszDir, LPWSTR pszBaseName)
{
TRACE("(%p, %p, %p)\n", pszFileList, pszDir, pszBaseName);
return AddDelBackupEntryA(pszFileList, pszDir, pszBaseName, AADBE_DEL_ENTRY);
return AddDelBackupEntryW(pszFileList, pszDir, pszBaseName, AADBE_DEL_ENTRY);
}
/***********************************************************************