- Timestamp:
- Feb 9, 2009 8:59:58 AM (16 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/SystemPropertiesImpl.cpp
r16560 r16569 196 196 } 197 197 198 STDMETHODIMP SystemProperties::COMGETTER(MinGuestCPUCount)(ULONG *minCPUCount) 199 { 200 if (!minCPUCount) 201 return E_POINTER; 202 203 AutoCaller autoCaller (this); 204 CheckComRCReturnRC (autoCaller.rc()); 205 206 /* no need to lock, this is const */ 207 *minCPUCount = SchemaDefs::MinCPUCount; 208 209 return S_OK; 210 } 211 212 STDMETHODIMP SystemProperties::COMGETTER(MaxGuestCPUCount)(ULONG *maxCPUCount) 213 { 214 if (!maxCPUCount) 215 return E_POINTER; 216 217 AutoCaller autoCaller (this); 218 CheckComRCReturnRC (autoCaller.rc()); 219 220 /* no need to lock, this is const */ 221 *maxCPUCount = 1; // SchemaDefs::MaxCPUCount; 222 223 return S_OK; 224 } 225 198 226 STDMETHODIMP SystemProperties::COMGETTER(MaxGuestMonitors)(ULONG *maxMonitors) 199 227 { -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r16568 r16569 6776 6776 name="ISystemProperties" 6777 6777 extends="$unknown" 6778 uuid=" 604afeba-5963-4d12-a577-902ffb96352a"6778 uuid="0760e03f-06d0-481e-9f81-be43fef092ba" 6779 6779 wsmap="managed" 6780 6780 > … … 6802 6802 <attribute name="maxGuestVRAM" type="unsigned long" readonly="yes"> 6803 6803 <desc>Maximum guest video memory in Megabytes.</desc> 6804 </attribute> 6805 6806 <attribute name="minGuestCPUCount" type="unsigned long" readonly="yes"> 6807 <desc>Minimum CPU count.</desc> 6808 </attribute> 6809 6810 <attribute name="maxGuestCPUCount" type="unsigned long" readonly="yes"> 6811 <desc>Maximum CPU count.</desc> 6804 6812 </attribute> 6805 6813 -
trunk/src/VBox/Main/include/SystemPropertiesImpl.h
r15051 r16569 69 69 STDMETHOD(COMGETTER(MinGuestVRAM) (ULONG *minVRAM)); 70 70 STDMETHOD(COMGETTER(MaxGuestVRAM) (ULONG *maxVRAM)); 71 STDMETHOD(COMGETTER(MinGuestCPUCount) (ULONG *minCPUCount)); 72 STDMETHOD(COMGETTER(MaxGuestCPUCount) (ULONG *maxCPUCount)); 71 73 STDMETHOD(COMGETTER(MaxGuestMonitors) (ULONG *maxMonitors)); 72 74 STDMETHOD(COMGETTER(MaxVDISize) (ULONG64 *maxVDISize));
Note:
See TracChangeset
for help on using the changeset viewer.