mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 02:18:20 +00:00
Translate ENODEV and ENXIO error codes to NT status codes.
This commit is contained in:
parent
f0006c8e3e
commit
ea782b60d6
|
@ -363,6 +363,8 @@ void file_set_error(void)
|
|||
case EIO: set_error( STATUS_ACCESS_VIOLATION ); break;
|
||||
case ENOTDIR: set_error( STATUS_NOT_A_DIRECTORY ); break;
|
||||
case EFBIG: set_error( STATUS_SECTION_TOO_BIG ); break;
|
||||
case ENODEV: set_error( STATUS_NO_SUCH_DEVICE ); break;
|
||||
case ENXIO: set_error( STATUS_NO_SUCH_DEVICE ); break;
|
||||
#ifdef EOVERFLOW
|
||||
case EOVERFLOW: set_error( STATUS_INVALID_PARAMETER ); break;
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue