Changed the server to return STATUS_* error codes.
diff --git a/include/server.h b/include/server.h
index a19287e..96685b0 100644
--- a/include/server.h
+++ b/include/server.h
@@ -1138,6 +1138,7 @@
#ifndef __WINE_SERVER__
#include "thread.h"
+#include "ntddk.h"
/* client communication functions */
@@ -1161,7 +1162,7 @@
static inline int server_call( enum request req )
{
unsigned int res = server_call_noerr( req );
- if (res) SetLastError( res );
+ if (res) SetLastError( RtlNtStatusToDosError(res) );
return res;
}