Changeset 23021 in vbox for trunk/src/VBox/Frontends/VBoxBFE/HostUSBImpl.cpp
- Timestamp:
- Sep 15, 2009 7:03:49 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 52320
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxBFE/HostUSBImpl.cpp
r19300 r23021 243 243 244 244 LogFlowMember (("Console::AttachUSBDevice: Proxying USB device '%s' %RTuuid...\n", Address.c_str(), &Uuid)); 245 PVMREQ pReq; 246 vrc = VMR3ReqCall (mpVM, VMCPUID_ANY, &pReq, RT_INDEFINITE_WAIT, 245 vrc = VMR3ReqCallWait (mpVM, VMCPUID_ANY, 247 246 (PFNRT)pRhConfig->pfnCreateProxyDevice, 248 247 5, pRhConfig, &Uuid, fRemote, 249 248 Address.c_str(), pvRemote); 250 if (RT_SUCCESS (vrc))251 vrc = pReq->iStatus;252 VMR3ReqFree (pReq);253 249 if (RT_SUCCESS (vrc)) 254 250 hostDevice->setCaptured(); … … 302 298 RTUUID Uuid = aDevice->id(); 303 299 LogFlowMember (("Console::DetachUSBDevice: Detaching USB proxy device %RTuuid...\n", &Uuid)); 304 PVMREQ pReq; 305 vrc = VMR3ReqCall (mpVM, VMCPUID_ANY, &pReq, RT_INDEFINITE_WAIT, (PFNRT)pRhConfig->pfnDestroyProxyDevice, 300 vrc = VMR3ReqCallWait (mpVM, VMCPUID_ANY, (PFNRT)pRhConfig->pfnDestroyProxyDevice, 306 301 2, pRhConfig, &Uuid); 307 if (RT_SUCCESS (vrc))308 vrc = pReq->iStatus;309 VMR3ReqFree (pReq);310 302 } 311 303 }
Note:
See TracChangeset
for help on using the changeset viewer.