Changeset 31692 in vbox for trunk/src/VBox/Main/GuestImpl.cpp
- Timestamp:
- Aug 16, 2010 1:12:42 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 64836
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/GuestImpl.cpp
r31539 r31692 269 269 } 270 270 271 STDMETHODIMP Guest::COMGETTER(PageFusionEnabled) (BOOL *aPageFusionEnabled) 272 { 273 CheckComArgOutPointerValid(aPageFusionEnabled); 274 275 AutoCaller autoCaller(this); 276 if (FAILED(autoCaller.rc())) return autoCaller.rc(); 271 BOOL Guest::isPageFusionEnabled() 272 { 273 AutoCaller autoCaller(this); 274 if (FAILED(autoCaller.rc())) return false; 277 275 278 276 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 279 277 280 *aPageFusionEnabled = mfPageFusionEnabled; 281 282 return S_OK; 283 } 284 285 STDMETHODIMP Guest::COMSETTER(PageFusionEnabled) (BOOL aPageFusionEnabled) 286 { 287 AutoCaller autoCaller(this); 288 if (FAILED(autoCaller.rc())) return autoCaller.rc(); 289 290 AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS); 291 292 /** todo; API complete, but not implemented */ 293 294 return E_NOTIMPL; 278 return mfPageFusionEnabled; 295 279 } 296 280
Note:
See TracChangeset
for help on using the changeset viewer.