VirtualBox

Changeset 57634 in vbox


Ignore:
Timestamp:
Sep 7, 2015 10:29:53 AM (9 years ago)
Author:
vboxsync
Message:

fileio-win.cpp: W10 return ERROR_INVALID_FUNCTION in RTFileQueryInfo when presented with a console I/O handle, ignore it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/fileio-win.cpp

    r57622 r57634  
    860860                return VERR_INVALID_HANDLE;
    861861        }
    862         else
     862        /*
     863         * On Windows 10 and (hopefully) 8.1 we get ERROR_INVALID_FUNCTION with console I/O
     864         * handles.  We must ignore these just like the above invalid handle error.
     865         */
     866        else if (dwErr != ERROR_INVALID_FUNCTION)
    863867            return RTErrConvertFromWin32(dwErr);
    864868
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette