vbox的更動 15051 路徑 trunk/src/VBox/Main/HardDisk2Impl.cpp
- 時間撮記:
- 2008-12-5 下午05:20:00 (16 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Main/HardDisk2Impl.cpp
r15044 r15051 507 507 * @param aLocaiton Storage unit location. 508 508 */ 509 HRESULT HardDisk2::init (VirtualBox *aVirtualBox, constBSTR aFormat,510 constBSTR aLocation)509 HRESULT HardDisk2::init (VirtualBox *aVirtualBox, CBSTR aFormat, 510 CBSTR aLocation) 511 511 { 512 512 AssertReturn (aVirtualBox != NULL, E_FAIL); … … 587 587 * @param aLocaiton Storage unit location. 588 588 */ 589 HRESULT HardDisk2::init (VirtualBox *aVirtualBox, constBSTR aLocation)589 HRESULT HardDisk2::init (VirtualBox *aVirtualBox, CBSTR aLocation) 590 590 { 591 591 AssertReturn (aVirtualBox, E_INVALIDARG); … … 1004 1004 //////////////////////////////////////////////////////////////////////////////// 1005 1005 1006 STDMETHODIMP HardDisk2::GetProperty (IN PTRBSTR aName, BSTR *aValue)1006 STDMETHODIMP HardDisk2::GetProperty (IN_BSTR aName, BSTR *aValue) 1007 1007 { 1008 1008 CheckComArgStrNotEmptyOrNull (aName); … … 1024 1024 } 1025 1025 1026 STDMETHODIMP HardDisk2::SetProperty (IN PTR BSTR aName, INPTRBSTR aValue)1026 STDMETHODIMP HardDisk2::SetProperty (IN_BSTR aName, IN_BSTR aValue) 1027 1027 { 1028 1028 CheckComArgStrNotEmptyOrNull (aName); … … 1055 1055 } 1056 1056 1057 STDMETHODIMP HardDisk2::GetProperties (IN PTRBSTR aNames,1057 STDMETHODIMP HardDisk2::GetProperties (IN_BSTR aNames, 1058 1058 ComSafeArrayOut (BSTR, aReturnNames), 1059 1059 ComSafeArrayOut (BSTR, aReturnValues)) … … 1088 1088 } 1089 1089 1090 STDMETHODIMP HardDisk2::SetProperties (ComSafeArrayIn (IN PTRBSTR, aNames),1091 ComSafeArrayIn (IN PTRBSTR, aValues))1090 STDMETHODIMP HardDisk2::SetProperties (ComSafeArrayIn (IN_BSTR, aNames), 1091 ComSafeArrayIn (IN_BSTR, aValues)) 1092 1092 { 1093 1093 CheckComArgSafeArrayNotNull (aNames); … … 1100 1100 AutoMultiWriteLock2 alock (mVirtualBox, this); 1101 1101 1102 com::SafeArray <IN PTRBSTR> names (ComSafeArrayInArg (aNames));1103 com::SafeArray <IN PTRBSTR> values (ComSafeArrayInArg (aValues));1102 com::SafeArray <IN_BSTR> names (ComSafeArrayInArg (aNames)); 1103 com::SafeArray <IN_BSTR> values (ComSafeArrayInArg (aValues)); 1104 1104 1105 1105 /* first pass: validate names */ … … 1296 1296 } 1297 1297 1298 STDMETHODIMP HardDisk2::MergeTo (IN PTR GUIDPARAMaTargetId, IProgress **aProgress)1298 STDMETHODIMP HardDisk2::MergeTo (IN_GUID aTargetId, IProgress **aProgress) 1299 1299 { 1300 1300 AutoCaller autoCaller (this); … … 2432 2432 * @note Must be called from under this object's write lock. 2433 2433 */ 2434 HRESULT HardDisk2::setLocation ( constBSTR aLocation)2434 HRESULT HardDisk2::setLocation (CBSTR aLocation) 2435 2435 { 2436 2436 /// @todo so far, we assert but later it makes sense to support null … … 2584 2584 * @note Must be called from under this object's write lock. 2585 2585 */ 2586 HRESULT HardDisk2::setFormat ( constBSTR aFormat)2586 HRESULT HardDisk2::setFormat (CBSTR aFormat) 2587 2587 { 2588 2588 /* get the format object first */
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器