Add stub implementation for ReplaceFile.
This commit is contained in:
parent
8aa4e4ed25
commit
c019f53568
|
@ -685,9 +685,9 @@
|
||||||
@ stdcall ReinitializeCriticalSection(ptr) ReinitializeCriticalSection
|
@ stdcall ReinitializeCriticalSection(ptr) ReinitializeCriticalSection
|
||||||
@ stdcall ReleaseMutex(long) ReleaseMutex
|
@ stdcall ReleaseMutex(long) ReleaseMutex
|
||||||
@ stdcall ReleaseSemaphore(long long ptr) ReleaseSemaphore
|
@ stdcall ReleaseSemaphore(long long ptr) ReleaseSemaphore
|
||||||
@ stub ReplaceFile
|
@ stdcall ReplaceFile(wstr wstr wstr long ptr ptr) ReplaceFileW
|
||||||
@ stub ReplaceFileA
|
@ stdcall ReplaceFileA(str str str long ptr ptr) ReplaceFileA
|
||||||
@ stub ReplaceFileW
|
@ stdcall ReplaceFileW(wstr wstr wstr long ptr ptr) ReplaceFileW
|
||||||
@ stdcall RemoveDirectoryA(str) RemoveDirectoryA
|
@ stdcall RemoveDirectoryA(str) RemoveDirectoryA
|
||||||
@ stdcall RemoveDirectoryW(wstr) RemoveDirectoryW
|
@ stdcall RemoveDirectoryW(wstr) RemoveDirectoryW
|
||||||
@ stub RequestDeviceWakeup
|
@ stub RequestDeviceWakeup
|
||||||
|
|
27
files/file.c
27
files/file.c
|
@ -3409,3 +3409,30 @@ BOOL WINAPI GetFileAttributesExA(
|
||||||
SetLastError(ERROR_NOT_ENOUGH_MEMORY);
|
SetLastError(ERROR_NOT_ENOUGH_MEMORY);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**************************************************************************
|
||||||
|
* ReplaceFileW (KERNEL32.@)
|
||||||
|
* ReplaceFile (KERNEL32.@)
|
||||||
|
*/
|
||||||
|
BOOL WINAPI ReplaceFileW(LPCWSTR lpReplacedFileName,LPCWSTR lpReplacementFileName,
|
||||||
|
LPCWSTR lpBackupFileName, DWORD dwReplaceFlags,
|
||||||
|
LPVOID lpExclude, LPVOID lpReserved)
|
||||||
|
{
|
||||||
|
FIXME("(%s,%s,%s,%08lx,%p,%p) stub\n",debugstr_w(lpReplacedFileName),debugstr_w(lpReplacementFileName),
|
||||||
|
debugstr_w(lpBackupFileName),dwReplaceFlags,lpExclude,lpReserved);
|
||||||
|
SetLastError(ERROR_UNABLE_TO_MOVE_REPLACEMENT);
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**************************************************************************
|
||||||
|
* ReplaceFileA (KERNEL32.@)
|
||||||
|
*/
|
||||||
|
BOOL WINAPI ReplaceFileA(LPCSTR lpReplacedFileName,LPCSTR lpReplacementFileName,
|
||||||
|
LPCSTR lpBackupFileName, DWORD dwReplaceFlags,
|
||||||
|
LPVOID lpExclude, LPVOID lpReserved)
|
||||||
|
{
|
||||||
|
FIXME("(%s,%s,%s,%08lx,%p,%p) stub\n",lpReplacedFileName,lpReplacementFileName,
|
||||||
|
lpBackupFileName,dwReplaceFlags,lpExclude,lpReserved);
|
||||||
|
SetLastError(ERROR_UNABLE_TO_MOVE_REPLACEMENT);
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue