- Timestamp:
- Aug 23, 2007 2:15:27 PM (17 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/GuestImpl.cpp
r4071 r4314 152 152 } 153 153 154 STDMETHODIMP Guest::COMGETTER(MemoryBalloonSize) (ULONG *aMemoryBalloonSize) 155 { 156 if (!aMemoryBalloonSize) 157 return E_POINTER; 158 159 AutoCaller autoCaller (this); 160 CheckComRCReturnRC (autoCaller.rc()); 161 162 AutoReaderLock alock (this); 163 164 *aMemoryBalloonSize = mMemoryBalloonSize; 165 166 return S_OK; 167 } 168 169 STDMETHODIMP Guest::COMSETTER(MemoryBalloonSize) (ULONG aMemoryBalloonSize) 170 { 171 return S_OK; 172 } 173 154 174 STDMETHODIMP Guest::SetCredentials(INPTR BSTR aUserName, INPTR BSTR aPassword, 155 175 INPTR BSTR aDomain, BOOL aAllowInteractiveLogon) -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r4297 r4314 4321 4321 <interface 4322 4322 name="IGuest" extends="$unknown" 4323 uuid=" 4a61e982-172b-4116-b12e-024b8a9a2b9d"4323 uuid="c7dca803-9ff0-4819-aa3c-d0f191d3798b" 4324 4324 wsmap="suppress" 4325 4325 > … … 4369 4369 integration) is supported. 4370 4370 </desc> 4371 </attribute> 4372 4373 <attribute name="memoryBalloonSize" type="unsigned long"> 4374 <desc>Guest system memory balloon size in megabytes.</desc> 4371 4375 </attribute> 4372 4376 -
trunk/src/VBox/Main/include/GuestImpl.h
r4071 r4314 56 56 STDMETHOD(COMGETTER(AdditionsVersion)) (BSTR *aAdditionsVersion); 57 57 STDMETHOD(COMGETTER(SupportsSeamless)) (BOOL *aSupportsSeamless); 58 STDMETHOD(COMGETTER(MemoryBalloonSize)) (ULONG *aMemoryBalloonSize); 59 STDMETHOD(COMSETTER(MemoryBalloonSize)) (ULONG aMemoryBalloonSize); 58 60 59 61 // IGuest methods … … 75 77 Data() : mAdditionsActive (FALSE), mSupportsSeamless (FALSE) {} 76 78 77 Bstr mOSTypeId;78 BOOL mAdditionsActive;79 Bstr mAdditionsVersion;80 BOOL mSupportsSeamless;79 Bstr mOSTypeId; 80 BOOL mAdditionsActive; 81 Bstr mAdditionsVersion; 82 BOOL mSupportsSeamless; 81 83 }; 84 85 ULONG mMemoryBalloonSize; 82 86 83 87 ComObjPtr <Console, ComWeakRef> mParent;
Note:
See TracChangeset
for help on using the changeset viewer.