VirtualBox

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


Ignore:
Timestamp:
Dec 5, 2018 12:08:09 PM (6 years ago)
Author:
vboxsync
Message:

HGCM,GuestProps: Added HGCM service notifications for VM power-on, VM resume, VM suspend, VM reset and VM power-off. Made use of the first two in guest properties to wake up guest programs waiting on any of the host version properties. Also moved inserting sysprep and host version properties to the services as that's a better home than ConsoleImpl/VMMDevInterface in my opinion.

Location:
trunk/src/VBox/Main/include
Files:
2 edited

Legend:

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

    r75853 r75969  
    4747
    4848int HGCMHostCall(const char *pszServiceName, uint32_t function, uint32_t cParms, VBOXHGCMSVCPARM aParms[]);
     49int HGCMBroadcastEvent(HGCMNOTIFYEVENT enmEvent);
    4950
    5051#ifdef VBOX_WITH_CRHGSMI
  • trunk/src/VBox/Main/include/VMMDev.h

    r75955 r75969  
    7878# endif
    7979#endif
    80 
    8180    static DECLCALLBACK(void *) drvQueryInterface(PPDMIBASE pInterface, const char *pszIID);
    8281    static DECLCALLBACK(int)    drvConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags);
    8382    static DECLCALLBACK(void)   drvDestruct(PPDMDRVINS pDrvIns);
    8483    static DECLCALLBACK(void)   drvReset(PPDMDRVINS pDrvIns);
     84    static DECLCALLBACK(void)   drvPowerOn(PPDMDRVINS pDrvIns);
     85    static DECLCALLBACK(void)   drvPowerOff(PPDMDRVINS pDrvIns);
     86    static DECLCALLBACK(void)   drvSuspend(PPDMDRVINS pDrvIns);
     87    static DECLCALLBACK(void)   drvResume(PPDMDRVINS pDrvIns);
    8588
    8689    Console * const         mParent;
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