Changeset 18113 in vbox for trunk/src/VBox/Main/GuestImpl.cpp
- Timestamp:
- Mar 20, 2009 12:54:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/GuestImpl.cpp
r16125 r18113 292 292 CheckComArgOutPointerValid(aStatVal); 293 293 294 /* not available or not yet reported? */ 295 CheckComArgExpr(aStatistic, mCurrentGuestStat[aStatistic] != GUEST_STAT_INVALID); 294 /* Not available or not yet reported? In that case, just return with a proper error 295 * but don't use setError(). */ 296 if (mCurrentGuestStat[aStatistic] == GUEST_STAT_INVALID) 297 return E_INVALIDARG; 296 298 297 299 *aStatVal = mCurrentGuestStat[aStatistic];
Note:
See TracChangeset
for help on using the changeset viewer.