Changeset 102661 in vbox for trunk/src/VBox/Runtime/r3/win
- Timestamp:
- Dec 20, 2023 6:21:40 PM (14 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/win/RTFsMountpointsEnum-win.cpp
r102660 r102661 178 178 g_pfnFindVolumeMountPointClose(hMp); 179 179 } 180 else if ( GetLastError() != ERROR_NO_MORE_FILES 181 && GetLastError() != ERROR_PATH_NOT_FOUND 182 && GetLastError() != ERROR_UNRECOGNIZED_VOLUME) 183 rc = RTErrConvertFromWin32(GetLastError()); 180 else 181 { 182 DWORD const dwErr = GetLastError(); 183 if ( dwErr != ERROR_NO_MORE_FILES 184 && dwErr != ERROR_PATH_NOT_FOUND 185 && dwErr != ERROR_UNRECOGNIZED_VOLUME 186 && dwErr != ERROR_ACCESS_DENIED) /* Can happen for regular users, so just skip this stuff then. */ 187 rc = RTErrConvertFromWin32(GetLastError()); 188 } 184 189 185 190 if (RT_SUCCESS(rc))
Note:
See TracChangeset
for help on using the changeset viewer.