Changeset 59117 in vbox for trunk/src/VBox/Main/src-server/win
- Timestamp:
- Dec 14, 2015 2:04:37 PM (9 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/win/USBProxyBackendWindows.cpp
r59116 r59117 50 50 * @returns S_OK on success and non-fatal failures, some COM error otherwise. 51 51 */ 52 HRESULTUSBProxyServiceWindows::init(void)52 int USBProxyServiceWindows::init(void) 53 53 { 54 54 /* … … 56 56 */ 57 57 mhEventInterrupt = CreateEvent(NULL, FALSE, FALSE, NULL); 58 AssertReturn(mhEventInterrupt != INVALID_HANDLE_VALUE, E_FAIL);58 AssertReturn(mhEventInterrupt != INVALID_HANDLE_VALUE, VERR_OUT_OF_RESOURCES); 59 59 60 60 /* … … 71 71 { 72 72 LogFlowThisFunc(("returns successfully\n")); 73 return S_OK;73 return VINF_SUCCESS; 74 74 } 75 75 … … 81 81 82 82 LogFlowThisFunc(("returns failure!!! (rc=%Rrc)\n", rc)); 83 mLastError = rc; 84 return S_OK; 83 return rc; 85 84 } 86 85
Note:
See TracChangeset
for help on using the changeset viewer.