- 時間撮記:
- 2016-8-3 下午04:50:15 (8 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-shared.cpp
r62514 r62932 78 78 * 79 79 * @returns VBox status code. 80 * @param pDevIns The VGA device instance.81 * @param p Thread The send thread.80 * @param hThreadSelf This thread. 81 * @param pvUser Request sempahore handle. 82 82 */ 83 DECLCALLBACK(int) vmsvga3dWindowThread(RTTHREAD ThreadSelf, void *pvUser) 84 { 83 DECLCALLBACK(int) vmsvga3dWindowThread(RTTHREAD hThreadSelf, void *pvUser) 84 { 85 RT_NOREF(hThreadSelf); 85 86 RTSEMEVENT WndRequestSem = (RTSEMEVENT)pvUser; 86 87 WNDCLASSEX wc; … … 170 171 if (msg.message == WM_VMSVGA3D_DESTROYWINDOW) 171 172 { 172 BOOL ret= DestroyWindow((HWND)msg.wParam);173 Assert( ret);173 BOOL fRc = DestroyWindow((HWND)msg.wParam); 174 Assert(fRc); NOREF(fRc); 174 175 /* Signal to the caller that we're done. */ 175 176 RTSemEventSignal(WndRequestSem); … … 192 193 pCS->cy = rectClient.bottom - rectClient.top; 193 194 #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); 196 197 197 198 /* Signal to the caller that we're done. */
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器