VirtualBox

忽略:
時間撮記:
2014-5-28 上午09:12:15 (10 年 以前)
作者:
vboxsync
訊息:

Main,Frontends: IDisplay provides the guest screen bitmap to frontends.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Main/src-client/VMMDevInterface.cpp

    r51096 r51436  
    400400#endif
    401401    IFramebuffer *framebuffer = NULL;
    402     LONG xOrigin = 0;
    403     LONG yOrigin = 0;
    404     HRESULT hrc = pConsole->getDisplay()->GetFramebuffer(display, &framebuffer, &xOrigin, &yOrigin);
     402    HRESULT hrc = pConsole->getDisplay()->QueryFramebuffer(display, &framebuffer);
    405403    if (SUCCEEDED(hrc) && framebuffer)
    406404    {
     
    425423    if (!heightReduction)
    426424        return VERR_INVALID_PARAMETER;
    427     IFramebuffer *framebuffer = pConsole->getDisplay()->getFramebuffer();
    428     if (framebuffer)
     425    IFramebuffer *framebuffer = NULL;
     426    HRESULT hrc = pConsole->getDisplay()->QueryFramebuffer(0, &framebuffer);
     427    if (SUCCEEDED(hrc) && framebuffer)
     428    {
    429429        framebuffer->COMGETTER(HeightReduction)((ULONG*)heightReduction);
     430        framebuffer->Release();
     431    }
    430432    else
    431433        *heightReduction = 0;
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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