VirtualBox

Changeset 8425 in vbox for trunk/src/VBox/Additions/common


Ignore:
Timestamp:
Apr 28, 2008 3:03:37 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
30274
Message:

Frontends/VirtualBox3/4, Main, Devices/VMMDev, Frontends/VBoxBFE, Additions/common, Additions/x11: reverted r30152, r30085, r30074 and r30072

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibVideo.cpp

    r8398 r8425  
    232232    return fRc;
    233233}
    234 
    235 
    236 /**
    237  * Report the maximum resolution that we currently support to the host.
    238  *
    239  * @returns iprt status value.
    240  * @param   cx      The maximum horizontal resolution.
    241  * @param   cy      The maximum vertical resolution.
    242  */
    243 VBGLR3DECL(int) VbglR3ReportMaxGuestResolution(uint32_t cx, uint32_t cy)
    244 {
    245     int rc = VERR_UNRESOLVED_ERROR;
    246     VMMDevReqGuestResolution req;
    247 
    248     vmmdevInitRequest(&req.header, VMMDevReq_SetMaxGuestResolution);
    249     req.u32MaxWidth     = cx;
    250     req.u32MaxHeight    = cy;
    251     rc = vbglR3GRPerform(&req.header);
    252     if (!RT_SUCCESS(rc) || !RT_SUCCESS(req.header.rc))
    253         LogRelFunc(("error reporting maximum supported resolution to VMMDev. "
    254                     "rc = %Vrc, VMMDev rc = %Vrc\n", rc, req.header.rc));
    255     if (RT_SUCCESS(rc))
    256         rc = req.header.rc;
    257     return rc;
    258 }
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