VirtualBox

儲存庫 vbox 的更動 38663


忽略:
時間撮記:
2011-9-6 下午03:53:26 (13 年 以前)
作者:
vboxsync
訊息:

Devices/VMMDev: document VMMDevReq_GetDisplayChangeRequest[2]

位置:
trunk
檔案:
修改 2 筆資料

圖例:

未更動
新增
刪除
  • trunk/include/VBox/VMMDev.h

    r37174 r38663  
    139139    VMMDevReq_ReportGuestInfo2           = 58, /* since version 3.2.0 */
    140140    VMMDevReq_ReportGuestStatus          = 59, /* since version 3.2.8 */
     141    /**
     142     * Retrieve a display resize request sent by the host using
     143     * @a IDisplay:setVideoModeHint.  Deprecated.
     144     *
     145     * Similar to @a VMMDevReq_GetDisplayChangeRequest2, except that it only
     146     * considers host requests sent for the first virtual display.  This guest
     147     * request should not be used in new guest code, and the results are
     148     * undefined if a guest mixes calls to this and
     149     * @a VMMDevReq_GetDisplayChangeRequest2.
     150     */
    141151    VMMDevReq_GetDisplayChangeRequest    = 51,
    142152    VMMDevReq_VideoModeSupported         = 52,
    143153    VMMDevReq_GetHeightReduction         = 53,
     154    /**
     155     * Retrieve a display resize request sent by the host using
     156     * @a IDisplay:setVideoModeHint.
     157     *
     158     * Queries a display resize request sent from the host.  If the
     159     * @a eventAck member is sent to true and there is an unqueried
     160     * request available for one of the virtual display then that request will
     161     * be returned.  If several displays have unqueried requests the lowest
     162     * numbered display will be chosen first.  Only the most recent unseen
     163     * request for each display is remembered.
     164     * If @a eventAck is set to false, the last host request queried with
     165     * @a eventAck set is resent, or failing that the most recent received from
     166     * the host.  If no host request was ever received then all zeros are
     167     * returned.
     168     */
    144169    VMMDevReq_GetDisplayChangeRequest2   = 54,
    145170    VMMDevReq_ReportGuestCapabilities    = 55,
  • trunk/src/VBox/Devices/VMMDev/VMMDev.cpp

    r38227 r38663  
    976976
    977977        /*
    978          * Get display change request
     978         * Retrieve a display resize request sent by the host using
     979         * @a IDisplay:setVideoModeHint.  Deprecated.
     980         * See documentation in VMMDev.h.
     981         */
     982        /**
     983         * @todo It looks like a multi-monitor guest which only uses
     984         *        @a VMMDevReq_GetDisplayChangeRequest (not the *2 version)
     985         *        will get into a @a VMMDEV_EVENT_DISPLAY_CHANGE_REQUEST event
     986         *        loop if it tries to acknowlege host requests for additional
     987         *        monitors.  Should the loop which checks for those requests
     988         *        be removed?
    979989         */
    980990        case VMMDevReq_GetDisplayChangeRequest:
     
    10391049        }
    10401050
     1051        /*
     1052         * Retrieve a display resize request sent by the host using
     1053         * @a IDisplay:setVideoModeHint.
     1054         * See documentation in VMMDev.h.
     1055         */
    10411056        case VMMDevReq_GetDisplayChangeRequest2:
    10421057        {
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette