Changeset 59119 in vbox for trunk/src/VBox/Main/src-server/win
- Timestamp:
- Dec 14, 2015 2:28:25 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/win/USBProxyBackendWindows.cpp
r59117 r59119 20 20 * Header Files * 21 21 *********************************************************************************************************************************/ 22 #include "USBProxy Service.h"22 #include "USBProxyBackend.h" 23 23 #include "Logging.h" 24 24 … … 38 38 * Initialize data members. 39 39 */ 40 USBProxy ServiceWindows::USBProxyServiceWindows(Host *aHost)41 : USBProxy Service(aHost), mhEventInterrupt(INVALID_HANDLE_VALUE)42 { 43 LogFlowThisFunc(("a Host=%p\n", aHost));40 USBProxyBackendWindows::USBProxyBackendWindows(USBProxyService *aUsbProxyService) 41 : USBProxyBackend(aHost), mhEventInterrupt(INVALID_HANDLE_VALUE) 42 { 43 LogFlowThisFunc(("aUsbProxyService=%p\n", aUsbProxyService)); 44 44 } 45 45 … … 50 50 * @returns S_OK on success and non-fatal failures, some COM error otherwise. 51 51 */ 52 int USBProxy ServiceWindows::init(void)52 int USBProxyBackendWindows::init(void) 53 53 { 54 54 /* … … 88 88 * Stop all service threads and free the device chain. 89 89 */ 90 USBProxy ServiceWindows::~USBProxyServiceWindows()90 USBProxyBackendWindows::~USBProxyBackendWindows() 91 91 { 92 92 LogFlowThisFunc(("\n")); … … 110 110 111 111 112 void *USBProxy ServiceWindows::insertFilter(PCUSBFILTER aFilter)112 void *USBProxyBackendWindows::insertFilter(PCUSBFILTER aFilter) 113 113 { 114 114 AssertReturn(aFilter, NULL); … … 124 124 125 125 126 void USBProxy ServiceWindows::removeFilter(void *aID)126 void USBProxyBackendWindows::removeFilter(void *aID) 127 127 { 128 128 LogFlow(("USBProxyServiceWindows::removeFilter(): id=%p\n", aID)); … … 134 134 135 135 136 int USBProxy ServiceWindows::captureDevice(HostUSBDevice *aDevice)136 int USBProxyBackendWindows::captureDevice(HostUSBDevice *aDevice) 137 137 { 138 138 /* … … 176 176 177 177 178 int USBProxy ServiceWindows::releaseDevice(HostUSBDevice *aDevice)178 int USBProxyBackendWindows::releaseDevice(HostUSBDevice *aDevice) 179 179 { 180 180 /* … … 219 219 220 220 221 bool USBProxy ServiceWindows::updateDeviceState(HostUSBDevice *aDevice, PUSBDEVICE aUSBDevice, bool *aRunFilters,221 bool USBProxyBackendWindows::updateDeviceState(HostUSBDevice *aDevice, PUSBDEVICE aUSBDevice, bool *aRunFilters, 222 222 SessionMachine **aIgnoreMachine) 223 223 { … … 229 229 230 230 231 int USBProxy ServiceWindows::wait(unsigned aMillies)231 int USBProxyBackendWindows::wait(unsigned aMillies) 232 232 { 233 233 return USBLibWaitChange(aMillies); … … 235 235 236 236 237 int USBProxy ServiceWindows::interruptWait(void)237 int USBProxyBackendWindows::interruptWait(void) 238 238 { 239 239 return USBLibInterruptWaitChange(); … … 243 243 * Gets a list of all devices the VM can grab 244 244 */ 245 PUSBDEVICE USBProxy ServiceWindows::getDevices(void)245 PUSBDEVICE USBProxyBackendWindows::getDevices(void) 246 246 { 247 247 PUSBDEVICE pDevices = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.