Changeset 70294 in vbox for trunk/src/VBox/HostDrivers/VBoxUSB
- Timestamp:
- Dec 21, 2017 4:42:22 PM (7 years ago)
- Location:
- trunk/src/VBox/HostDrivers/VBoxUSB/win
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxUSB/win/lib/VBoxUsbLib-win.cpp
r70285 r70294 46 46 #include <VBox/usb.h> 47 47 #include <VBox/VBoxDrvCfg-win.h> 48 #include <stdio.h>49 48 #pragma warning (disable:4200) /* shuts up the empty array member warnings */ 50 49 #include <iprt/win/setupapi.h> … … 904 903 for (int i = 0; i < 10; ++i) 905 904 { 906 sprintf(CtlName, "\\\\.\\HCD%d", i);905 RTStrPrintf(CtlName, sizeof(CtlName), "\\\\.\\HCD%d", i); 907 906 HANDLE hCtl = CreateFile(CtlName, GENERIC_WRITE, FILE_SHARE_WRITE, NULL, OPEN_EXISTING, 0, NULL); 908 907 if (hCtl != INVALID_HANDLE_VALUE) -
trunk/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbFlt.cpp
r70286 r70294 36 36 #include <iprt/assert.h> 37 37 #include <VBox/err.h> 38 //#include <VBox/sup.h>39 38 40 39 #include <iprt/assert.h> 41 #include <stdio.h>42 40 43 41 #pragma warning(disable : 4200) -
trunk/src/VBox/HostDrivers/VBoxUSB/win/mon/VBoxUsbMon.cpp
r69500 r70294 34 34 #include <VBox/usblib.h> 35 35 #include <excpt.h> 36 #include <stdio.h>37 36 38 37
Note:
See TracChangeset
for help on using the changeset viewer.