- Add error translation for STATUS_ACCESS_VIOLATION

svn path=/trunk/; revision=57177
This commit is contained in:
Cameron Gutman 2012-08-27 06:34:21 +00:00
parent 2a9a4034d9
commit f2ac4605ca

View file

@ -376,6 +376,10 @@ TranslateNtStatusError(NTSTATUS Status)
DbgPrint("MSAFD: STATUS_REMOTE_DISCONNECT\n"); DbgPrint("MSAFD: STATUS_REMOTE_DISCONNECT\n");
return WSAECONNRESET; return WSAECONNRESET;
case STATUS_ACCESS_VIOLATION:
DbgPrint("MSAFD: STATUS_ACCESS_VIOLATION\n");
return WSAEFAULT;
default: default:
DbgPrint("MSAFD: Unhandled NTSTATUS value: 0x%x\n", Status); DbgPrint("MSAFD: Unhandled NTSTATUS value: 0x%x\n", Status);
return WSAENETDOWN; return WSAENETDOWN;