Changeset 77641 in vbox for trunk/src/VBox
- Timestamp:
- Mar 11, 2019 1:28:09 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/win/fileio-win.cpp
r77231 r77641 550 550 return VINF_SUCCESS; 551 551 } 552 return RTErrConvertFromWin32(GetLastError()); 552 553 /* We will get an EOF error when using overlapped I/O. So, make sure we don't 554 return it when pcbhRead is not NULL. */ 555 DWORD dwErr = GetLastError(); 556 if (pcbRead && dwErr == ERROR_HANDLE_EOF) 557 { 558 *pcbRead = 0; 559 return VINF_SUCCESS; 560 } 561 return RTErrConvertFromWin32(dwErr); 553 562 } 554 563
Note:
See TracChangeset
for help on using the changeset viewer.