From: Austin English Subject: kernel32: add DECLSPEC_HOTPATCH to SetFilePointer Message-Id: Date: Sun, 15 Jun 2014 13:44:28 -0700 For https://bugs.winehq.org/show_bug.cgi?id=36736 -- -Austin
For https://bugs.winehq.org/show_bug.cgi?id=36736

--
-Austin
From d644a7bb9987bc001004d16667615324a649bda0 Mon Sep 17 00:00:00 2001 From: Austin English Date: Sun, 15 Jun 2014 13:43:54 -0700 Subject: [PATCH 2/2] kernel32: add DECLSPEC_HOTPATCH to SetFilePointer --- dlls/kernel32/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/kernel32/file.c b/dlls/kernel32/file.c index 9bcd9e9..412659b 100644 --- a/dlls/kernel32/file.c +++ b/dlls/kernel32/file.c @@ -1039,7 +1039,7 @@ BOOL WINAPI SetFileInformationByHandle( HANDLE file, FILE_INFO_BY_HANDLE_CLASS c /*********************************************************************** * SetFilePointer (KERNEL32.@) */ -DWORD WINAPI SetFilePointer( HANDLE hFile, LONG distance, LONG *highword, DWORD method ) +DWORD WINAPI DECLSPEC_HOTPATCH SetFilePointer( HANDLE hFile, LONG distance, LONG *highword, DWORD method ) { LARGE_INTEGER dist, newpos; -- 2.0.0