Changeset 14874 in vbox for trunk/src/VBox/Main/VirtualBoxImpl.cpp
- Timestamp:
- Dec 1, 2008 4:18:38 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/VirtualBoxImpl.cpp
r14858 r14874 1175 1175 IHardDisk2 **aHardDisk) 1176 1176 { 1177 if (!aLocation)1177 if (!aLocation) 1178 1178 return E_INVALIDARG; 1179 if (!aHardDisk)1179 if (!aHardDisk) 1180 1180 return E_POINTER; 1181 1181 … … 2702 2702 } 2703 2703 2704 HRESULT rc = result == 0 ? S_OK : E_INVALIDARG;2704 HRESULT rc = result == 0 ? S_OK : VBOX_E_OBJECT_NOT_FOUND; 2705 2705 2706 2706 if (aSetError && result != 0) … … 3469 3469 if (!conflict.isNull()) 3470 3470 { 3471 return setError ( E_INVALIDARG,3471 return setError (VBOX_E_FILE_ERROR, 3472 3472 tr ("Cannot register the CD/DVD image '%ls' with UUID {%RTuuid} " 3473 3473 "because a %s already exists in the media registry ('%ls')"),
Note:
See TracChangeset
for help on using the changeset viewer.