kernel32: Add stub for ReOpenFile.

Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Fabian Maurer 2018-01-24 21:51:42 +01:00 committed by Alexandre Julliard
parent 39899fd11a
commit 5eb13b2413
6 changed files with 15 additions and 5 deletions

View File

@ -6,6 +6,6 @@
@ stdcall GetFileInformationByHandleEx(long long ptr long) kernel32.GetFileInformationByHandleEx
@ stdcall MoveFileExW(wstr wstr long) kernel32.MoveFileExW
@ stdcall MoveFileWithProgressW(wstr wstr ptr ptr long) kernel32.MoveFileWithProgressW
@ stub ReOpenFile
@ stdcall ReOpenFile(ptr long long long) kernel32.ReOpenFile
@ stdcall ReadDirectoryChangesW(long ptr long long long ptr ptr ptr) kernel32.ReadDirectoryChangesW
@ stdcall ReplaceFileW(wstr wstr wstr long ptr ptr) kernel32.ReplaceFileW

View File

@ -7,6 +7,6 @@
@ stdcall MoveFileExW(wstr wstr long) kernel32.MoveFileExW
@ stdcall MoveFileWithProgressW(wstr wstr ptr ptr long) kernel32.MoveFileWithProgressW
@ stdcall OpenFileById(long ptr long long ptr long) kernel32.OpenFileById
@ stub ReOpenFile
@ stdcall ReOpenFile(ptr long long long) kernel32.ReOpenFile
@ stdcall ReadDirectoryChangesW(long ptr long long long ptr ptr ptr) kernel32.ReadDirectoryChangesW
@ stdcall ReplaceFileW(wstr wstr wstr long ptr ptr) kernel32.ReplaceFileW

View File

@ -10,5 +10,5 @@
@ stdcall MoveFileWithProgressW(wstr wstr ptr ptr long) kernel32.MoveFileWithProgressW
@ stdcall OpenFileById(long ptr long long ptr long) kernel32.OpenFileById
@ stdcall ReadDirectoryChangesW(long ptr long long long ptr ptr ptr) kernel32.ReadDirectoryChangesW
@ stub ReOpenFile
@ stdcall ReOpenFile(ptr long long long) kernel32.ReOpenFile
@ stdcall ReplaceFileW(wstr wstr wstr long ptr ptr) kernel32.ReplaceFileW

View File

@ -2820,6 +2820,16 @@ HANDLE WINAPI OpenFileById( HANDLE handle, LPFILE_ID_DESCRIPTOR id, DWORD access
return result;
}
/***********************************************************************
* ReOpenFile (KERNEL32.@)
*/
HANDLE WINAPI ReOpenFile(HANDLE handle_original, DWORD access, DWORD sharing, DWORD flags)
{
FIXME("(%p, %d, %d, %d): stub\n", handle_original, access, sharing, flags);
return INVALID_HANDLE_VALUE;
}
/***********************************************************************
* K32EnumDeviceDrivers (KERNEL32.@)

View File

@ -1267,7 +1267,7 @@
# @ stub RemoveLocalAlternateComputerNameW
@ stdcall RemoveVectoredContinueHandler(ptr) ntdll.RtlRemoveVectoredContinueHandler
@ stdcall RemoveVectoredExceptionHandler(ptr) ntdll.RtlRemoveVectoredExceptionHandler
# @ stub ReOpenFile
@ stdcall ReOpenFile(ptr long long long) ReOpenFile
@ stdcall ReplaceFile(wstr wstr wstr long ptr ptr) ReplaceFileW
@ stdcall ReplaceFileA(str str str long ptr ptr)
@ stdcall ReplaceFileW(wstr wstr wstr long ptr ptr)

View File

@ -1233,7 +1233,7 @@
# @ stub QuirkIsEnabledForProcess
@ stdcall RaiseException(long long long ptr) kernel32.RaiseException
# @ stub RaiseFailFastException
# @ stub ReOpenFile
@ stdcall ReOpenFile(ptr long long long) kernel32.ReOpenFile
@ stdcall ReadConsoleA(long ptr long ptr ptr) kernel32.ReadConsoleA
@ stdcall ReadConsoleInputA(long ptr long ptr) kernel32.ReadConsoleInputA
@ stub ReadConsoleInputExA