VirtualBox

忽略:
時間撮記:
2016-8-3 下午04:50:15 (8 年 以前)
作者:
vboxsync
訊息:

Devices: warnings

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-shared.cpp

    r62514 r62932  
    7878 *
    7979 * @returns VBox status code.
    80  * @param   pDevIns     The VGA device instance.
    81  * @param   pThread     The send thread.
     80 * @param   hThreadSelf     This thread.
     81 * @param   pvUser          Request sempahore handle.
    8282 */
    83 DECLCALLBACK(int) vmsvga3dWindowThread(RTTHREAD ThreadSelf, void *pvUser)
    84 {
     83DECLCALLBACK(int) vmsvga3dWindowThread(RTTHREAD hThreadSelf, void *pvUser)
     84{
     85    RT_NOREF(hThreadSelf);
    8586    RTSEMEVENT      WndRequestSem = (RTSEMEVENT)pvUser;
    8687    WNDCLASSEX      wc;
     
    170171            if (msg.message == WM_VMSVGA3D_DESTROYWINDOW)
    171172            {
    172                 BOOL ret = DestroyWindow((HWND)msg.wParam);
    173                 Assert(ret);
     173                BOOL fRc = DestroyWindow((HWND)msg.wParam);
     174                Assert(fRc); NOREF(fRc);
    174175                /* Signal to the caller that we're done. */
    175176                RTSemEventSignal(WndRequestSem);
     
    192193                pCS->cy = rectClient.bottom - rectClient.top;
    193194#endif
    194                 BOOL ret = SetWindowPos(hwnd, 0, pCS->x, pCS->y, pCS->cx, pCS->cy, SWP_NOZORDER | SWP_NOMOVE);
    195                 Assert(ret);
     195                BOOL fRc = SetWindowPos(hwnd, 0, pCS->x, pCS->y, pCS->cx, pCS->cy, SWP_NOZORDER | SWP_NOMOVE);
     196                Assert(fRc); NOREF(fRc);
    196197
    197198                /* Signal to the caller that we're done. */
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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