VirtualBox

Changeset 77115 in vbox


Ignore:
Timestamp:
Feb 1, 2019 1:25:13 PM (6 years ago)
Author:
vboxsync
Message:

Guest Control/Main: Renaming nit.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/HostServices/GuestControlSvc.h

    r76958 r77115  
    8585 * Structure keeping the context of a host callback.
    8686 */
    87 typedef struct VBoxGuestCtrlHostCbCtx
     87typedef struct VBOXGUESTCTRLHOSTCBCTX
    8888{
    8989    /** HGCM message number. */
     
    9494     *  be 0 if not supported. */
    9595    uint32_t uProtocol;
    96 
    9796} VBOXGUESTCTRLHOSTCBCTX, *PVBOXGUESTCTRLHOSTCBCTX;
    9897
     
    10099 * Structure for low level HGCM host callback from
    101100 * the guest. No deep copy. */
    102 typedef struct VBoxGuestCtrlHostCallback
    103 {
    104     VBoxGuestCtrlHostCallback(uint32_t cParms, VBOXHGCMSVCPARM paParms[])
    105                                 : mParms(cParms), mpaParms(paParms) { }
    106 
     101typedef struct VBOXGUESTCTRLHOSTCALLBACK
     102{
    107103    /** Number of HGCM parameters. */
    108     uint32_t mParms;
     104    uint32_t         mParms;
    109105    /** Actual HGCM parameters. */
    110106    PVBOXHGCMSVCPARM mpaParms;
    111 
    112107} VBOXGUESTCTRLHOSTCALLBACK, *PVBOXGUESTCTRLHOSTCALLBACK;
    113108
    114 
    115 /** @name Host message destiation flags.
     109/** @name Host message destination flags.
    116110 *
    117111 * This is ORed into the context ID parameter Main after extending it to 64-bit.
  • trunk/src/VBox/HostServices/GuestControl/VBoxGuestControlSvc.cpp

    r76963 r77115  
    21212121    if (mpfnHostCallback)
    21222122    {
    2123         VBOXGUESTCTRLHOSTCALLBACK data(cParms, paParms);
     2123        VBOXGUESTCTRLHOSTCALLBACK data = { cParms, paParms };
    21242124        rc = mpfnHostCallback(mpvHostData, u32Function, &data, sizeof(data));
    21252125    }
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