Changeset 62688 in vbox for trunk/src/VBox/HostDrivers/VBoxUSB
- Timestamp:
- Jul 29, 2016 1:30:27 PM (8 years ago)
- Location:
- trunk/src/VBox/HostDrivers/VBoxUSB/win
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxUSB/win/Install/USBInstall.cpp
r62686 r62688 35 35 #include <VBox/VBoxDrvCfg-win.h> 36 36 37 static DECLCALLBACK(void) vboxUsbLog(VBOXDRVCFG_LOG_SEVERITY enmSeverity, char * msg, void * pvContext) 38 { 37 static DECLCALLBACK(void) vboxUsbLog(VBOXDRVCFG_LOG_SEVERITY enmSeverity, char *pszMsg, void *pvContext) 38 { 39 RT_NOREF1(pvContext); 39 40 switch (enmSeverity) 40 41 { … … 43 44 break; 44 45 case VBOXDRVCFG_LOG_SEVERITY_REL: 45 RTPrintf("%s", msg);46 RTPrintf("%s", pszMsg); 46 47 break; 47 48 default: … … 50 51 } 51 52 52 static DECLCALLBACK(void) vboxUsbPanic(void * pvPanic) 53 { 53 static DECLCALLBACK(void) vboxUsbPanic(void *pvPanic) 54 { 55 RT_NOREF1(pvPanic); 54 56 #ifndef DEBUG_bird 55 57 AssertFailed(); -
trunk/src/VBox/HostDrivers/VBoxUSB/win/Install/USBUninstall.cpp
r62686 r62688 37 37 int usblibOsDeleteService(void); 38 38 39 static DECLCALLBACK(void) vboxUsbLog(VBOXDRVCFG_LOG_SEVERITY enmSeverity, char * msg, void * pvContext) 40 { 39 static DECLCALLBACK(void) vboxUsbLog(VBOXDRVCFG_LOG_SEVERITY enmSeverity, char *pszMsg, void *pvContext) 40 { 41 RT_NOREF1(pvContext); 41 42 switch (enmSeverity) 42 43 { … … 45 46 break; 46 47 case VBOXDRVCFG_LOG_SEVERITY_REL: 47 printf("%s", msg);48 printf("%s", pszMsg); 48 49 break; 49 50 default: … … 52 53 } 53 54 54 static DECLCALLBACK(void) vboxUsbPanic(void * pvPanic) 55 { 55 static DECLCALLBACK(void) vboxUsbPanic(void *pvPanic) 56 { 57 RT_NOREF1(pvPanic); 56 58 #ifndef DEBUG_bird 57 59 AssertFailed(); … … 62 64 int __cdecl main(int argc, char **argv) 63 65 { 66 RT_NOREF2(argc, argv); 64 67 printf("USB uninstallation\n"); 65 68 -
trunk/src/VBox/HostDrivers/VBoxUSB/win/testcase/USBTest.cpp
r62686 r62688 305 305 { 306 306 int rc; 307 RT_NOREF2(argc, argv); 307 308 308 309 printf("USB test\n");
Note:
See TracChangeset
for help on using the changeset viewer.