Commit 2f0c2684 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard
Browse files

include: Use RtlSetLastWin32Error in server.h.

parent 35ae4703
......@@ -57,7 +57,7 @@ extern NTSTATUS CDECL wine_server_handle_to_fd( HANDLE handle, unsigned int acce
static inline unsigned int wine_server_call_err( void *req_ptr )
unsigned int res = wine_server_call( req_ptr );
if (res) SetLastError( RtlNtStatusToDosError(res) );
if (res) RtlSetLastWin32Error( RtlNtStatusToDosError(res) );
return res;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment