From f2ac4605cadb7c398bb7a6bb602026d8b1a3e422 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 27 Aug 2012 06:34:21 +0000 Subject: [PATCH] [MSAFD] - Add error translation for STATUS_ACCESS_VIOLATION svn path=/trunk/; revision=57177 --- reactos/dll/win32/msafd/misc/dllmain.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reactos/dll/win32/msafd/misc/dllmain.c b/reactos/dll/win32/msafd/misc/dllmain.c index 7068327a095..c62a918dc74 100644 --- a/reactos/dll/win32/msafd/misc/dllmain.c +++ b/reactos/dll/win32/msafd/misc/dllmain.c @@ -376,6 +376,10 @@ TranslateNtStatusError(NTSTATUS Status) DbgPrint("MSAFD: STATUS_REMOTE_DISCONNECT\n"); return WSAECONNRESET; + case STATUS_ACCESS_VIOLATION: + DbgPrint("MSAFD: STATUS_ACCESS_VIOLATION\n"); + return WSAEFAULT; + default: DbgPrint("MSAFD: Unhandled NTSTATUS value: 0x%x\n", Status); return WSAENETDOWN;