Changeset 14715 in vbox for trunk/src/VBox
- Timestamp:
- Nov 27, 2008 3:34:57 PM (16 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl.cpp
r14579 r14715 3607 3607 { 3608 3608 #if !defined (VBOX_WITH_GUEST_PROPS) 3609 return E_NOTIMPL;3609 ReturnComNotImplemented(); 3610 3610 #else 3611 3611 if (!VALID_PTR (aName)) … … 3675 3675 { 3676 3676 #if !defined (VBOX_WITH_GUEST_PROPS) 3677 return E_NOTIMPL;3677 ReturnComNotImplemented(); 3678 3678 #else 3679 3679 if (!VALID_PTR (aName)) … … 3753 3753 { 3754 3754 #if !defined (VBOX_WITH_GUEST_PROPS) 3755 return E_NOTIMPL;3755 ReturnComNotImplemented(); 3756 3756 #else 3757 3757 if (!VALID_PTR (aPatterns) && (aPatterns != NULL)) … … 5796 5796 #else /* RT_OS_LINUX not defined */ 5797 5797 LogFlowThisFunc(("rc=E_NOTIMPL\n")); 5798 return E_NOTIMPL; /* not yet supported */5798 ReturnComNotImplemented(); /* not yet supported */ 5799 5799 #endif 5800 5800 } -
trunk/src/VBox/Main/HardDisk2Impl.cpp
r14700 r14715 1180 1180 CheckComRCReturnRC (autoCaller.rc()); 1181 1181 1182 return E_NOTIMPL;1182 ReturnComNotImplemented(); 1183 1183 } 1184 1184 … … 1188 1188 CheckComRCReturnRC (autoCaller.rc()); 1189 1189 1190 return E_NOTIMPL;1190 ReturnComNotImplemented(); 1191 1191 } 1192 1192 … … 1196 1196 CheckComRCReturnRC (autoCaller.rc()); 1197 1197 1198 return E_NOTIMPL;1198 ReturnComNotImplemented(); 1199 1199 } 1200 1200 -
trunk/src/VBox/Main/HostImpl.cpp
r14685 r14715 1111 1111 #else 1112 1112 /* Not implemented / supported on this platform. */ 1113 return E_NOTIMPL;1113 ReturnComNotImplemented(); 1114 1114 #endif 1115 1115 } … … 1133 1133 * extended error info to indicate that USB is simply not available 1134 1134 * (w/o treting it as a failure), for example, as in OSE */ 1135 return E_NOTIMPL;1135 ReturnComNotImplemented(); 1136 1136 #endif 1137 1137 } … … 1159 1159 * extended error info to indicate that USB is simply not available 1160 1160 * (w/o treting it as a failure), for example, as in OSE */ 1161 return E_NOTIMPL;1161 ReturnComNotImplemented(); 1162 1162 #endif 1163 1163 } … … 1225 1225 CHECK_READY(); 1226 1226 /** @todo */ 1227 return E_NOTIMPL;1227 ReturnComNotImplemented(); 1228 1228 } 1229 1229 … … 1257 1257 1258 1258 default: 1259 return E_NOTIMPL;1259 ReturnComNotImplemented(); 1260 1260 } 1261 1261 return S_OK; … … 1321 1321 CHECK_READY(); 1322 1322 /** @todo */ 1323 return E_NOTIMPL;1323 ReturnComNotImplemented(); 1324 1324 } 1325 1325 … … 1337 1337 CHECK_READY(); 1338 1338 /** @todo */ 1339 return E_NOTIMPL;1339 ReturnComNotImplemented(); 1340 1340 } 1341 1341 … … 1573 1573 * extended error info to indicate that USB is simply not available 1574 1574 * (w/o treting it as a failure), for example, as in OSE */ 1575 return E_NOTIMPL;1575 ReturnComNotImplemented(); 1576 1576 #endif 1577 1577 } … … 1621 1621 * extended error info to indicate that USB is simply not available 1622 1622 * (w/o treting it as a failure), for example, as in OSE */ 1623 return E_NOTIMPL;1623 ReturnComNotImplemented(); 1624 1624 #endif 1625 1625 } … … 1676 1676 * extended error info to indicate that USB is simply not available 1677 1677 * (w/o treting it as a failure), for example, as in OSE */ 1678 return E_NOTIMPL;1678 ReturnComNotImplemented(); 1679 1679 #endif 1680 1680 } -
trunk/src/VBox/Main/MachineDebuggerImpl.cpp
r14627 r14715 129 129 130 130 /** @todo */ 131 return E_NOTIMPL;131 ReturnComNotImplemented(); 132 132 } 133 133 … … 144 144 145 145 /** @todo */ 146 return E_NOTIMPL;146 ReturnComNotImplemented(); 147 147 } 148 148 -
trunk/src/VBox/Main/MachineImpl.cpp
r14694 r14715 1429 1429 return S_OK; 1430 1430 #else 1431 return E_NOTIMPL;1431 ReturnComNotImplemented(); 1432 1432 #endif 1433 1433 } … … 1496 1496 * extended error info to indicate that USB is simply not available 1497 1497 * (w/o treting it as a failure), for example, as in OSE */ 1498 return E_NOTIMPL;1498 ReturnComNotImplemented(); 1499 1499 #endif 1500 1500 } … … 1516 1516 * extended error info to indicate that SATA is simply not available 1517 1517 * (w/o treting it as a failure), for example, as in OSE */ 1518 return E_NOTIMPL;1518 ReturnComNotImplemented(); 1519 1519 #endif 1520 1520 } … … 2981 2981 { 2982 2982 #if !defined (VBOX_WITH_GUEST_PROPS) 2983 return E_NOTIMPL;2983 ReturnComNotImplemented(); 2984 2984 #else 2985 2985 if (!VALID_PTR (aName)) … … 3051 3051 { 3052 3052 #if !defined (VBOX_WITH_GUEST_PROPS) 3053 return E_NOTIMPL;3053 ReturnComNotImplemented(); 3054 3054 #else 3055 3055 using namespace guestProp; … … 3175 3175 { 3176 3176 #if !defined (VBOX_WITH_GUEST_PROPS) 3177 return E_NOTIMPL;3177 ReturnComNotImplemented(); 3178 3178 #else 3179 3179 if (!VALID_PTR (aPatterns) && (aPatterns != NULL)) … … 8885 8885 return S_OK; 8886 8886 #else 8887 return E_NOTIMPL;8887 ReturnComNotImplemented(); 8888 8888 #endif 8889 8889 } … … 8943 8943 return S_OK; 8944 8944 #else 8945 return E_NOTIMPL;8945 ReturnComNotImplemented(); 8946 8946 #endif 8947 8947 } … … 9009 9009 return S_OK; 9010 9010 #else 9011 return E_NOTIMPL;9011 ReturnComNotImplemented(); 9012 9012 #endif 9013 9013 } -
trunk/src/VBox/Main/MediumImpl.cpp
r14579 r14715 94 94 /// require to add the mRegistered flag to data 95 95 96 return E_NOTIMPL;96 ReturnComNotImplemented(); 97 97 } 98 98 … … 163 163 /// this medium), this will also require to add the mRegistered flag to data 164 164 165 return E_NOTIMPL;165 ReturnComNotImplemented(); 166 166 } 167 167 -
trunk/src/VBox/Main/NetworkAdapterImpl.cpp
r14665 r14715 471 471 472 472 #else 473 return E_NOTIMPL;473 ReturnComNotImplemented(); 474 474 #endif 475 475 } … … 511 511 return S_OK; 512 512 #else 513 return E_NOTIMPL;513 ReturnComNotImplemented(); 514 514 #endif 515 515 } … … 532 532 return S_OK; 533 533 #else 534 return E_NOTIMPL;534 ReturnComNotImplemented(); 535 535 #endif 536 536 } … … 566 566 return S_OK; 567 567 #else 568 return E_NOTIMPL;568 ReturnComNotImplemented(); 569 569 #endif 570 570 } … … 587 587 return S_OK; 588 588 #else 589 return E_NOTIMPL;589 ReturnComNotImplemented(); 590 590 #endif 591 591 } … … 621 621 return S_OK; 622 622 #else 623 return E_NOTIMPL;623 ReturnComNotImplemented(); 624 624 #endif 625 625 } -
trunk/src/VBox/Main/ProgressImpl.cpp
r14579 r14715 759 759 760 760 ComAssertMsgFailed (("Not implemented!")); 761 return E_NOTIMPL;761 ReturnComNotImplemented(); 762 762 } 763 763 … … 1446 1446 1447 1447 ComAssertMsgFailed (("Not implemented!")); 1448 return E_NOTIMPL;1448 ReturnComNotImplemented(); 1449 1449 } 1450 1450 -
trunk/src/VBox/Main/SessionImpl.cpp
r14579 r14715 702 702 return mConsole->setGuestProperty (aName, aValue, aFlags); 703 703 #else /* VBOX_WITH_GUEST_PROPS not defined */ 704 return E_NOTIMPL;704 ReturnComNotImplemented(); 705 705 #endif /* VBOX_WITH_GUEST_PROPS not defined */ 706 706 } … … 737 737 ComSafeArrayOutArg(aFlags)); 738 738 #else /* VBOX_WITH_GUEST_PROPS not defined */ 739 return E_NOTIMPL;739 ReturnComNotImplemented(); 740 740 #endif /* VBOX_WITH_GUEST_PROPS not defined */ 741 741 } -
trunk/src/VBox/Main/USBControllerImpl.cpp
r14579 r14715 416 416 return S_OK; 417 417 #else 418 return E_NOTIMPL;418 ReturnComNotImplemented(); 419 419 #endif 420 420 } … … 481 481 return S_OK; 482 482 #else 483 return E_NOTIMPL;483 ReturnComNotImplemented(); 484 484 #endif 485 485 } … … 550 550 return S_OK; 551 551 #else 552 return E_NOTIMPL;552 ReturnComNotImplemented(); 553 553 #endif 554 554 } -
trunk/src/VBox/Main/VirtualBoxErrorInfoImpl.cpp
r8155 r14715 129 129 STDMETHODIMP VirtualBoxErrorInfo::GetHelpContext (DWORD *pdwHelpContext) 130 130 { 131 return E_NOTIMPL;131 ReturnComNotImplemented(); 132 132 } 133 133 134 134 STDMETHODIMP VirtualBoxErrorInfo::GetHelpFile (BSTR *pbstrHelpFile) 135 135 { 136 return E_NOTIMPL;136 ReturnComNotImplemented(); 137 137 } 138 138 -
trunk/src/VBox/Main/VirtualBoxImpl.cpp
r14666 r14715 746 746 return S_OK; 747 747 #else /* !VBOX_WITH_RESOURCE_USAGE_API */ 748 return E_NOTIMPL;748 ReturnComNotImplemented(); 749 749 #endif /* !VBOX_WITH_RESOURCE_USAGE_API */ 750 750 } … … 1858 1858 BSTR *aChanged, BSTR *aValues) 1859 1859 { 1860 return E_NOTIMPL;1860 ReturnComNotImplemented(); 1861 1861 } 1862 1862 -
trunk/src/VBox/Main/include/VirtualBoxBase.h
r14624 r14715 449 449 /** 450 450 * Sets the extended error info and returns E_NOTIMPL. 451 * @param method Method that is not implemented. 452 */ 453 #define ReturnComNotImplemented(method) \ 451 */ 452 #define ReturnComNotImplemented() \ 454 453 do { \ 455 return setError (E_NOTIMPL, tr ("Method %s is not implemented"), #method); \454 return setError (E_NOTIMPL, tr ("Method %s is not implemented"), __func__); \ 456 455 } while (0) 457 456
Note:
See TracChangeset
for help on using the changeset viewer.