VirtualBox

Changeset 7409 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Mar 10, 2008 2:50:08 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
28842
Message:

VMMDev: added VMMDEV_GUEST_SUPPORTS_GRAPHICS capability, enabled by default, to distinguish cases where the guest additions are loaded but graphics are not supported

Location:
trunk/include/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VBoxDev.h

    r5999 r7409  
    6161/** the guest supports mapping guest to host windows */
    6262#define VMMDEV_GUEST_SUPPORTS_GUEST_HOST_WINDOW_MAPPING     RT_BIT(1)
     63/**
     64 * the guest graphical additions are active - used for fast activation
     65 * and deactivation of certain graphical operations.
     66 * The legacy VMMDevReq_ReportGuestCapabilities request sets this
     67 * automatically, but VMMDevReq_SetGuestCapabilities does not. */
     68#define VMMDEV_GUEST_SUPPORTS_GRAPHICS                      RT_BIT(2)
    6369/** @} */
    6470
  • trunk/include/VBox/VBoxGuest.h

    r7233 r7409  
    149149    VMMDevReq_GetDisplayChangeRequest2   = 54,
    150150    VMMDevReq_ReportGuestCapabilities    = 55,
     151    VMMDevReq_SetGuestCapabilities       = 56,
    151152#ifdef VBOX_HGCM
    152153    VMMDevReq_HGCMConnect                = 60,
     
    286287    uint32_t    caps;
    287288} VMMDevReqGuestCapabilities;
     289
     290/** guest capabilites structure */
     291typedef struct
     292{
     293    /** header */
     294    VMMDevRequestHeader header;
     295    /** mask of capabilities to be added */
     296    uint32_t    u32OrMask;
     297    /** mask of capabilities to be removed */
     298    uint32_t    u32NotMask;
     299} VMMDevReqGuestCapabilities2;
    288300
    289301/** idle request structure */
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