VirtualBox

Changeset 48013 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Aug 23, 2013 8:58:13 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
88341
Message:

Main/Performance: fix the return code

File:
1 edited

Legend:

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

    r45051 r48013  
    199199        void setGuest(CollectorGuest *aGuest) { mCGuest = aGuest; };
    200200        CollectorGuest *getGuest() { return mCGuest; };
    201         virtual int execute() = 0;
     201        virtual HRESULT execute() = 0;
    202202
    203203        virtual void debugPrint(void *aObject, const char *aFunction, const char *aText) = 0;
     
    212212        CGRQEnable(ULONG aMask)
    213213            : mMask(aMask) {};
    214         int execute();
     214        HRESULT execute();
    215215
    216216        void debugPrint(void *aObject, const char *aFunction, const char *aText);
     
    224224        CGRQDisable(ULONG aMask)
    225225            : mMask(aMask) {};
    226         int execute();
     226        HRESULT execute();
    227227
    228228        void debugPrint(void *aObject, const char *aFunction, const char *aText);
     
    235235    public:
    236236        CGRQAbort() {};
    237         int execute();
     237        HRESULT execute();
    238238
    239239        void debugPrint(void *aObject, const char *aFunction, const char *aText);
     
    280280
    281281        int enqueueRequest(CollectorGuestRequest *aRequest);
    282         int enableInternal(ULONG mask);
     282        HRESULT enableInternal(ULONG mask);
    283283        int disableInternal(ULONG mask);
    284284
Note: See TracChangeset for help on using the changeset viewer.

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