VirtualBox

Ignore:
Timestamp:
Mar 31, 2010 12:16:27 PM (15 years ago)
Author:
vboxsync
Message:

Metrics: work in progress

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/MachineImpl.h

    r27849 r27885  
    624624    HRESULT openExistingSession(IInternalSessionControl *aControl);
    625625
     626    HRESULT getDirectControl(ComPtr<IInternalSessionControl> *directControl)
     627    {
     628        HRESULT rc;
     629        *directControl = mData->mSession.mDirectControl;
     630
     631        if (!*directControl)
     632            rc = E_ACCESSDENIED;
     633        else
     634            rc = S_OK;
     635
     636        return rc;
     637    }
     638
    626639#if defined(RT_OS_WINDOWS)
    627640
     
    796809    void unregisterMetrics(PerformanceCollector *aCollector, Machine *aMachine);
    797810
    798     pm::CollectorGuestHAL   mGuestHAL;
     811    pm::CollectorGuestHAL  *mGuestHAL;
    799812#endif /* VBOX_WITH_RESOURCE_USAGE_API */
    800813
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette