- Timestamp:
- Jul 8, 2011 10:10:41 AM (13 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r37824 r37831 9893 9893 <interface 9894 9894 name="IMedium" extends="$unknown" 9895 uuid=" f55ce3ec-b856-4d07-ae33-826072b332c3"9895 uuid="53f9cc0c-e0fd-40a5-a404-a7a5272082cd" 9896 9896 wsmap="managed" 9897 9897 > … … 10223 10223 <link to="MediumType_Normal"/>, except for DVD and floppy media, 10224 10224 which have a type of <link to="MediumType_Writethrough"/>. 10225 </desc> 10226 </attribute> 10227 10228 <attribute name="allowedTypes" type="MediumType" safearray="yes" readonly="yes"> 10229 <desc> 10230 Returns which medium types can selected for this medium. 10231 10232 <result name="E_NOTIMPL"> 10233 This attribute is not implemented at the moment. 10234 </result> 10225 10235 </desc> 10226 10236 </attribute> -
trunk/src/VBox/Main/include/MediumImpl.h
r37768 r37831 116 116 STDMETHOD(COMGETTER(Type))(MediumType_T *aType); 117 117 STDMETHOD(COMSETTER(Type))(MediumType_T aType); 118 STDMETHOD(COMGETTER(AllowedTypes))(ComSafeArrayOut(MediumType_T, aAllowedTypes)); 118 119 STDMETHOD(COMGETTER(Parent))(IMedium **aParent); 119 120 STDMETHOD(COMGETTER(Children))(ComSafeArrayOut(IMedium *, aChildren)); -
trunk/src/VBox/Main/src-server/MediumImpl.cpp
r37768 r37831 1768 1768 1769 1769 return rc; 1770 } 1771 1772 STDMETHODIMP Medium::COMGETTER(AllowedTypes)(ComSafeArrayOut(MediumType_T, aAllowedTypes)) 1773 { 1774 CheckComArgOutSafeArrayPointerValid(aAllowedTypes); 1775 1776 AutoCaller autoCaller(this); 1777 if (FAILED(autoCaller.rc())) return autoCaller.rc(); 1778 1779 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 1780 1781 ReturnComNotImplemented(); 1770 1782 } 1771 1783
Note:
See TracChangeset
for help on using the changeset viewer.