Qian Hong : ntdll: Make RtlAddVectoredExceptionHandler hotpatchable.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Jan 16 14:12:30 CST 2015


Module: wine
Branch: master
Commit: cffd86f195383770fccfaaa9ff5766e73fd3f0c1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=cffd86f195383770fccfaaa9ff5766e73fd3f0c1

Author: Qian Hong <qhong at codeweavers.com>
Date:   Fri Jan 16 02:07:39 2015 +0800

ntdll: Make RtlAddVectoredExceptionHandler hotpatchable.

---

 dlls/ntdll/exception.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/ntdll/exception.c b/dlls/ntdll/exception.c
index 5b4abb6..daca45a 100644
--- a/dlls/ntdll/exception.c
+++ b/dlls/ntdll/exception.c
@@ -286,7 +286,7 @@ ULONG WINAPI RtlRemoveVectoredContinueHandler( PVOID handler )
 /*******************************************************************
  *         RtlAddVectoredExceptionHandler   (NTDLL.@)
  */
-PVOID WINAPI RtlAddVectoredExceptionHandler( ULONG first, PVECTORED_EXCEPTION_HANDLER func )
+PVOID WINAPI DECLSPEC_HOTPATCH RtlAddVectoredExceptionHandler( ULONG first, PVECTORED_EXCEPTION_HANDLER func )
 {
     return add_vectored_handler( &vectored_exception_handlers, first, func );
 }




More information about the wine-cvs mailing list