Changeset 54809 in vbox for trunk/src/VBox/Main
- Timestamp:
- Mar 17, 2015 12:07:04 PM (10 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r54591 r54809 423 423 <desc> 424 424 Object being in use prohibits operation. 425 </desc> 426 </result> 427 428 <result name="VBOX_E_PASSWORD_INCORRECT" value="0x80BB000D"> 429 <desc> 430 A provided password was incorrect. 425 431 </desc> 426 432 </result> … … 8357 8363 <desc> 8358 8364 Adds a password used for hard disk encryption/decryption. 8365 8366 <result name="VBOX_E_PASSWORD_INCORRECT"> 8367 The password provided wasn't correct for at least one disk using the provided 8368 ID. 8369 </result> 8359 8370 </desc> 8360 8371 <param name="id" type="wstring" dir="in"> -
trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
r54798 r54809 4881 4881 { 4882 4882 rc = pIMedium->pfnSetSecKeyIf(pIMedium, mpIfSecKey, mpIfSecKeyHlp); 4883 if (RT_FAILURE(rc)) 4883 if (rc == VERR_VD_PASSWORD_INCORRECT) 4884 return setError(VBOX_E_PASSWORD_INCORRECT, tr("The provided password for ID \"%s\" is not correct for at least one disk using this ID"), 4885 strId.c_str()); 4886 else if (RT_FAILURE(rc)) 4884 4887 return setError(E_FAIL, tr("Failed to set the encryption key (%Rrc)"), rc); 4885 4888 }
Note:
See TracChangeset
for help on using the changeset viewer.