VirtualBox

Changeset 28264 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Apr 13, 2010 4:01:51 PM (15 years ago)
Author:
vboxsync
Message:

VideoModeSupported for multimonitor. (xTracker 4655)

Location:
trunk/include/VBox
Files:
2 edited

Legend:

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

    r28099 r28264  
    147147    VMMDevReq_ReportGuestCapabilities    = 55,
    148148    VMMDevReq_SetGuestCapabilities       = 56,
     149    VMMDevReq_VideoModeSupported2        = 57,
    149150#ifdef VBOX_WITH_HGCM
    150151    VMMDevReq_HGCMConnect                = 60,
     
    898899AssertCompileSize(VMMDevVideoModeSupportedRequest, 24+16);
    899900
     901/**
     902 * Video mode supported request structure for a specific display.
     903 *
     904 * Used by VMMDevReq_VideoModeSupported2.
     905 */
     906typedef struct
     907{
     908    /** Header. */
     909    VMMDevRequestHeader header;
     910    /** IN: The guest display number. */
     911    uint32_t display;
     912    /** IN: Horizontal pixel resolution. */
     913    uint32_t width;
     914    /** IN: Vertical pixel resolution. */
     915    uint32_t height;
     916    /** IN: Bits per pixel. */
     917    uint32_t bpp;
     918    /** OUT: Support indicator. */
     919    bool fSupported;
     920} VMMDevVideoModeSupportedRequest2;
     921AssertCompileSize(VMMDevVideoModeSupportedRequest2, 24+20);
    900922
    901923/**
  • trunk/include/VBox/pdmifs.h

    r28232 r28264  
    21402140     * @returns VBox status code
    21412141     * @param   pInterface      Pointer to this interface.
     2142     * @param   display         The guest monitor, 0 for primary.
    21422143     * @param   cy              Video mode horizontal resolution in pixels.
    21432144     * @param   cx              Video mode vertical resolution in pixels.
     
    21462147     * @thread  The emulation thread.
    21472148     */
    2148     DECLR3CALLBACKMEMBER(int, pfnVideoModeSupported,(PPDMIVMMDEVCONNECTOR pInterface, uint32_t cx, uint32_t cy, uint32_t cBits, bool *pfSupported));
     2149    DECLR3CALLBACKMEMBER(int, pfnVideoModeSupported,(PPDMIVMMDEVCONNECTOR pInterface, uint32_t display, uint32_t cx, uint32_t cy, uint32_t cBits, bool *pfSupported));
    21492150
    21502151    /**
     
    22222223} PDMIVMMDEVCONNECTOR;
    22232224/** PDMIVMMDEVCONNECTOR interface ID. */
    2224 #define PDMIVMMDEVCONNECTOR_IID                 "5c35e324-2b02-49b7-a613-119fbf3320a9"
     2225#define PDMIVMMDEVCONNECTOR_IID                 "1c300d1b-5938-42bb-8acb-46ecfe483db7"
    22252226
    22262227
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