Changeset 10736 in vbox for trunk/src/VBox/HostDrivers
- Timestamp:
- Jul 18, 2008 8:17:25 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/win/SUPLib-win.cpp
r10720 r10736 644 644 * Issue device I/O control. 645 645 */ 646 int rc = VERR_INTERNAL_ERROR;647 if (DeviceIoControl(g_hDevice, uFunction, NULL, 0, NULL, 0, NULL, NULL))648 return rc;646 DWORD cbReturned = 0; 647 if (DeviceIoControl(g_hDevice, uFunction, NULL, 0, NULL, 0, &cbReturned, NULL)) 648 return VINF_SUCCESS; 649 649 return suplibConvertWin32Err(GetLastError()); 650 650 }
Note:
See TracChangeset
for help on using the changeset viewer.