From 923e62eb553596718df9e19b2a7b6482cc7deb15 Mon Sep 17 00:00:00 2001 From: Paul Gofman Date: Wed, 4 Dec 2019 14:02:12 +0300 Subject: [PATCH] ntdll: Add DECLSPEC_HOTPATCH to NtProtectVirtualMemory(). Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48077 Signed-off-by: Paul Gofman Signed-off-by: Alexandre Julliard --- dlls/ntdll/virtual.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/ntdll/virtual.c b/dlls/ntdll/virtual.c index 68249de902e..cb869feff02 100644 --- a/dlls/ntdll/virtual.c +++ b/dlls/ntdll/virtual.c @@ -2797,8 +2797,8 @@ NTSTATUS WINAPI NtFreeVirtualMemory( HANDLE process, PVOID *addr_ptr, SIZE_T *si * NtProtectVirtualMemory (NTDLL.@) * ZwProtectVirtualMemory (NTDLL.@) */ -NTSTATUS WINAPI NtProtectVirtualMemory( HANDLE process, PVOID *addr_ptr, SIZE_T *size_ptr, - ULONG new_prot, ULONG *old_prot ) +NTSTATUS WINAPI DECLSPEC_HOTPATCH NtProtectVirtualMemory( HANDLE process, PVOID *addr_ptr, SIZE_T *size_ptr, + ULONG new_prot, ULONG *old_prot ) { struct file_view *view; sigset_t sigset;