Changeset 75651 in vbox for trunk/src/VBox
- Timestamp:
- Nov 21, 2018 7:28:03 PM (6 years ago)
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/nt/RTErrConvertFromNtStatus.cpp
r69720 r75651 50 50 case STATUS_USER_APC: return VERR_INTERRUPTED; 51 51 52 case STATUS_INVALID_INFO_CLASS: return VERR_INVALID_FUNCTION; 52 53 case STATUS_DATATYPE_MISALIGNMENT: return VERR_INVALID_POINTER; 53 54 case STATUS_NO_MORE_FILES: return VERR_NO_MORE_FILES; -
trunk/src/VBox/Runtime/r3/win/fileio-win.cpp
r75544 r75651 852 852 * GetFileType should it not be there. 853 853 */ 854 if (rc == VERR_INVALID_HANDLE) 854 if ( rc == VERR_INVALID_HANDLE 855 || rc == VERR_ACCESS_DENIED 856 || rc == VERR_UNEXPECTED_FS_OBJ_TYPE) 855 857 { 856 858 static PFNVERIFYCONSOLEIOHANDLE s_pfnVerifyConsoleIoHandle = NULL; … … 870 872 } 871 873 /* 872 * On Windows 10 and (hopefully) 8.1 we get ERROR_INVALID_FUNCTION with console I/O 873 * handles. We must ignore these just like the above invalid handle error. 874 * On Windows 10 and (hopefully) 8.1 we get ERROR_INVALID_FUNCTION with console 875 * I/O handles and null device handles. We must ignore these just like the 876 * above invalid handle error. 874 877 */ 875 878 else if (rc != VERR_INVALID_FUNCTION && rc != VERR_IO_BAD_COMMAND)
Note:
See TracChangeset
for help on using the changeset viewer.