Mike Kaplinskiy <[email protected]> writes:

> @@ -542,6 +542,35 @@ static inline DWORD NtStatusToWSAError( const DWORD 
> status )
>      return wserr;
>  }
>  
> +/* most ws2 overlapped functions return an ntstatus-based error code */
> +static inline NTSTATUS WSAErrorToNtStatus( const DWORD error )
> +{

In general conversions should go status->error, not the other way
around.

-- 
Alexandre Julliard
[email protected]


Reply via email to