- 時間撮記:
- 2014-5-28 上午09:12:15 (10 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Main/src-client/VMMDevInterface.cpp
r51096 r51436 400 400 #endif 401 401 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); 405 403 if (SUCCEEDED(hrc) && framebuffer) 406 404 { … … 425 423 if (!heightReduction) 426 424 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 { 429 429 framebuffer->COMGETTER(HeightReduction)((ULONG*)heightReduction); 430 framebuffer->Release(); 431 } 430 432 else 431 433 *heightReduction = 0;
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器