VirtualBox

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


Ignore:
Timestamp:
Nov 16, 2009 3:50:47 PM (15 years ago)
Author:
vboxsync
Message:

Main,GuestProperties: Moved the HGCM shutdown down after we've powered off the VM. Ditto for moving the guest properties to VBoxSVC. Explicitly flush the guest property change notifications before moving them. Added a handleUnexpectedExceptions to Console that is similar to the one found in VirtualBox (i.e. in VBoxSVC).

File:
1 edited

Legend:

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

    r24579 r24703  
    223223    }
    224224
     225    static HRESULT handleUnexpectedExceptions(RT_SRC_POS_DECL);
     226
    225227    static const char *convertControllerTypeToDev(StorageControllerType_T enmCtrlType);
    226228    static HRESULT convertBusPortDeviceToLun(StorageBus_T enmBus, LONG port, LONG device, unsigned &uLun);
     
    505507
    506508#ifdef VBOX_WITH_GUEST_PROPS
    507     static DECLCALLBACK(int)    doGuestPropNotification (void *pvExtension, uint32_t,
    508                                                          void *pvParms, uint32_t cbParms);
    509     HRESULT doEnumerateGuestProperties (CBSTR aPatterns,
    510                                         ComSafeArrayOut(BSTR, aNames),
    511                                         ComSafeArrayOut(BSTR, aValues),
    512                                         ComSafeArrayOut(ULONG64, aTimestamps),
    513                                         ComSafeArrayOut(BSTR, aFlags));
     509    static DECLCALLBACK(int)    doGuestPropNotification(void *pvExtension, uint32_t, void *pvParms, uint32_t cbParms);
     510    HRESULT                     doMoveGuestPropertiesOnPowerOff(bool fSaving);
     511    HRESULT                     doEnumerateGuestProperties(CBSTR aPatterns,
     512                                                           ComSafeArrayOut(BSTR, aNames),
     513                                                           ComSafeArrayOut(BSTR, aValues),
     514                                                           ComSafeArrayOut(ULONG64, aTimestamps),
     515                                                           ComSafeArrayOut(BSTR, aFlags));
    514516
    515517    bool enabledGuestPropertiesVRDP (void);
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