Jacek Caban : rpcrt4: Don't use GetExceptionCode outside __except block.
Alexandre Julliard
julliard at winehq.org
Mon Apr 27 15:19:30 CDT 2020
Module: wine
Branch: master
Commit: 7b0830c98d1af50e4a6199f83c3c412aaedccb33
URL: https://source.winehq.org/git/wine.git/?a=commit;h=7b0830c98d1af50e4a6199f83c3c412aaedccb33
Author: Jacek Caban <jacek at codeweavers.com>
Date: Mon Apr 27 02:33:14 2020 +0200
rpcrt4: Don't use GetExceptionCode outside __except block.
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/rpcrt4/rpc_epmap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/rpcrt4/rpc_epmap.c b/dlls/rpcrt4/rpc_epmap.c
index 803c9f851b..6444f29e79 100644
--- a/dlls/rpcrt4/rpc_epmap.c
+++ b/dlls/rpcrt4/rpc_epmap.c
@@ -183,7 +183,7 @@ static RPC_STATUS get_epm_handle_server(RPC_BINDING_HANDLE *epm_handle)
static LONG WINAPI rpc_filter(EXCEPTION_POINTERS *__eptr)
{
- switch (GetExceptionCode())
+ switch (__eptr->ExceptionRecord->ExceptionCode)
{
case EXCEPTION_ACCESS_VIOLATION:
case EXCEPTION_ILLEGAL_INSTRUCTION:
More information about the wine-cvs
mailing list