mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-21 14:04:10 +00:00
include: Use RtlSetLastWin32Error in server.h.
This commit is contained in:
parent
35ae4703c4
commit
2f0c2684b2
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue