Zhiyi Zhang : kernel32: Add DECLSPEC_HOTPATCH to VirtualAllocEx().
Alexandre Julliard
julliard at winehq.org
Mon Mar 25 16:54:56 CDT 2019
Module: wine
Branch: master
Commit: df3dd6612c2098e347cad88c90853cf3892e4301
URL: https://source.winehq.org/git/wine.git/?a=commit;h=df3dd6612c2098e347cad88c90853cf3892e4301
Author: Zhiyi Zhang <zzhang at codeweavers.com>
Date: Sun Mar 24 18:47:06 2019 +0800
kernel32: Add DECLSPEC_HOTPATCH to VirtualAllocEx().
Fix Tom Clancy's The Devision uplay version startup crash.
Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/kernel32/virtual.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/kernel32/virtual.c b/dlls/kernel32/virtual.c
index 7f0a562..42da7f0 100644
--- a/dlls/kernel32/virtual.c
+++ b/dlls/kernel32/virtual.c
@@ -86,7 +86,7 @@ LPVOID WINAPI DECLSPEC_HOTPATCH VirtualAlloc( void *addr, SIZE_T size, DWORD typ
* Success: Base address of allocated region of pages.
* Failure: NULL.
*/
-LPVOID WINAPI VirtualAllocEx( HANDLE hProcess, LPVOID addr, SIZE_T size,
+LPVOID WINAPI DECLSPEC_HOTPATCH VirtualAllocEx( HANDLE hProcess, LPVOID addr, SIZE_T size,
DWORD type, DWORD protect )
{
LPVOID ret = addr;
More information about the wine-cvs
mailing list