VirtualBox

Changeset 8312 in vbox for trunk/include


Ignore:
Timestamp:
Apr 22, 2008 9:04:44 PM (17 years ago)
Author:
vboxsync
Message:

Devices/VMMDev, Frontends/VBoxBFE, Main: add a guest request to report the maximum resolution currently supported by the additions - host side

Location:
trunk/include/VBox
Files:
2 edited

Legend:

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

    r8155 r8312  
    158158    VMMDevReq_ReportGuestCapabilities    = 55,
    159159    VMMDevReq_SetGuestCapabilities       = 56,
     160    VMMDevReq_SetMaxGuestResolution      = 57,
    160161#ifdef VBOX_HGCM
    161162    VMMDevReq_HGCMConnect                = 60,
     
    287288} VMMDevReqHostVersion;
    288289
    289 /** guest capabilites structure */
     290/** old guest capabilites structure (ReportGuestCapabilities) */
    290291typedef struct
    291292{
     
    296297} VMMDevReqGuestCapabilities;
    297298
    298 /** guest capabilites structure */
     299/** new guest capabilites structure (SetGuestCapabilities) */
    299300typedef struct
    300301{
     
    306307    uint32_t    u32NotMask;
    307308} VMMDevReqGuestCapabilities2;
     309
     310/** Report the maximum possible guest resolution */
     311typedef struct
     312{
     313    /** header */
     314    VMMDevRequestHeader header;
     315    /** Maximum width */
     316    uint32_t    u32MaxWidth;
     317    /** Maximum height */
     318    uint32_t    u32MaxHeight;
     319} VMMDevReqGuestResolution;
    308320
    309321/** idle request structure */
     
    12651277        case VMMDevReq_SetGuestCapabilities:
    12661278            return sizeof(VMMDevReqGuestCapabilities2);
     1279        case VMMDevReq_SetMaxGuestResolution:
     1280            return sizeof(VMMDevReqGuestResolution);
    12671281#ifdef VBOX_HGCM
    12681282        case VMMDevReq_HGCMConnect:
  • trunk/include/VBox/pdmifs.h

    r8155 r8312  
    18851885
    18861886    /**
     1887     * Update the maximum guest resolution.
     1888     * This is called when the guest sends us a corresponding notification. The new resolution
     1889     * is given and the connector should update its internal state.
     1890     * @note    This member can be left null if the connector is not interested in the
     1891     *          notification.
     1892     *
     1893     * @param   pInterface          Pointer to this interface.
     1894     * @param   u32MaxWidth         New width.
     1895     * @param   u32MaxHeight        New Height.
     1896     * @thread  The emulation thread.
     1897     */
     1898    DECLR3CALLBACKMEMBER(void, pfnUpdateMaxGuestResolution,(PPDMIVMMDEVCONNECTOR pInterface, uint32_t u32MaxWidth, uint32_t u32MaxHeight));
     1899
     1900    /**
    18871901     * Update the mouse capabilities.
    18881902     * This is called when the mouse capabilities change. The new capabilities
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