Changeset 10639 in vbox for trunk/src/VBox/Additions/common
- Timestamp:
- Jul 15, 2008 10:03:43 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 33348
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3Lib.cpp
r10627 r10639 308 308 #if defined(RT_OS_WINDOWS) 309 309 DWORD cbReturned = 0; 310 if (!DeviceIoControl(g_hFile, iFunction, pvData, cbData, NULL, 0, &cbReturned, NULL))310 if (!DeviceIoControl(g_hFile, iFunction, pvData, cbData, pvData, cbData, &cbReturned, NULL)) 311 311 { 312 312 /** @todo The passing of error codes needs to be tested and fixed (as does *all* the other hosts except for … … 314 314 * transfered without loss down to ring-3. However, it's not vitally important right now (obviously, since 315 315 * the other guys has been ignoring it for 1+ years now). */ 316 return RTErrConvertFromWin32(GetLastError()); 316 DWORD LastErr = GetLastError(); 317 return RTErrConvertFromWin32(LastErr); 317 318 } 318 319
Note:
See TracChangeset
for help on using the changeset viewer.