Changeset 53633 in vbox for trunk/src/VBox
- Timestamp:
- Jan 2, 2015 10:42:00 AM (10 years ago)
- Location:
- trunk/src/VBox/Devices/USB
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/USB/VUSBDevice.cpp
r53210 r53633 1053 1053 1054 1054 LogFlow(("%s: vusbDevCancelAllUrbs: CANCELING URB\n", pUrb->pszDesc)); 1055 vusbUrbCancelWorker(pUrb, CANCELMODE_FAIL); 1055 int rc = vusbUrbCancelWorker(pUrb, CANCELMODE_FAIL); 1056 AssertRC(rc); 1056 1057 pUrb = pNext; 1057 1058 } -
trunk/src/VBox/Devices/USB/VUSBInternal.h
r53211 r53633 459 459 DECLHIDDEN(int) vusbDevIoThreadExec(PVUSBDEV pDev, uint32_t fFlags, PFNRT pfnFunction, unsigned cArgs, ...); 460 460 DECLHIDDEN(int) vusbDevIoThreadExecSync(PVUSBDEV pDev, PFNRT pfnFunction, unsigned cArgs, ...); 461 DECLHIDDEN( void) vusbUrbCancelWorker(PVUSBURB pUrb, CANCELMODE enmMode);461 DECLHIDDEN(int) vusbUrbCancelWorker(PVUSBURB pUrb, CANCELMODE enmMode); 462 462 463 463 void vusbUrbCompletionReadAhead(PVUSBURB pUrb); -
trunk/src/VBox/Devices/USB/VUSBUrb.cpp
r53162 r53633 2080 2080 * The worker for vusbUrbCancel() which is executed on the I/O thread. 2081 2081 * 2082 * @returns nothing.2082 * @returns IPRT status code. 2083 2083 * @param pUrb The URB to cancel. 2084 2084 * @param enmMode The way the URB should be canceled. 2085 2085 */ 2086 DECLHIDDEN( void) vusbUrbCancelWorker(PVUSBURB pUrb, CANCELMODE enmMode)2086 DECLHIDDEN(int) vusbUrbCancelWorker(PVUSBURB pUrb, CANCELMODE enmMode) 2087 2087 { 2088 2088 vusbUrbAssert(pUrb); … … 2137 2137 } 2138 2138 } 2139 return VINF_SUCCESS; 2139 2140 } 2140 2141
Note:
See TracChangeset
for help on using the changeset viewer.