Translate ENODEV and ENXIO error codes to NT status codes.

This commit is contained in:
Mike McCormack 2004-07-06 19:42:09 +00:00 committed by Alexandre Julliard
parent f0006c8e3e
commit ea782b60d6
1 changed files with 2 additions and 0 deletions

View File

@ -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