儲存庫 vbox 的更動 63060
- 時間撮記:
- 2016-8-5 下午08:33:05 (8 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/VBoxDispVBVA.cpp
r63059 r63060 320 320 int VBoxDispVBVAInit(PVBOXDISPDEV pDev) 321 321 { 322 int rc;323 DWORD dwrc; 324 ULONG cbReturned;322 LOGF_ENTER(); 323 324 /* Check if HGSMI is supported and obtain necessary info */ 325 325 QUERYHGSMIRESULT info; 326 HGSMIQUERYCALLBACKS callbacks;327 HGSMIQUERYCPORTPROCS portProcs;328 LOGF_ENTER();329 330 /* Check if HGSMI is supported and obtain necessary info */331 326 int rc = VBoxDispMPQueryHGSMIInfo(pDev->hDriver, &info); 332 327 if (RT_SUCCESS(rc)) 333 328 { 329 HGSMIQUERYCALLBACKS callbacks; 334 330 rc = VBoxDispMPQueryHGSMICallbacks(pDev->hDriver, &callbacks); 335 331 if (RT_SUCCESS(rc)) 336 332 { 333 HGSMIQUERYCPORTPROCS portProcs; 337 334 rc = VBoxDispMPHGSMIQueryPortProcs(pDev->hDriver, &portProcs); 338 }339 }340 if (RT_SUCCESS(rc))341 { 342 pDev->hgsmi.bSupported = TRUE;343 344 pDev->hgsmi.mp = callbacks;345 pDev->vpAPI = portProcs;335 if (RT_SUCCESS(rc)) 336 { 337 pDev->hgsmi.bSupported = TRUE; 338 339 pDev->hgsmi.mp = callbacks; 340 pDev->vpAPI = portProcs; 341 } 342 } 346 343 } 347 344 … … 352 349 memset(&HandlerReg, 0, sizeof(HandlerReg)); 353 350 HandlerReg.u8Channel = HGSMI_CH_VBVA; 354 dwrc = EngDeviceIoControl(pDev->hDriver, IOCTL_VIDEO_HGSMI_HANDLER_ENABLE, &HandlerReg, sizeof(HandlerReg), 355 0, NULL, &cbReturned); 351 ULONG cbReturned; 352 DWORD dwrc = EngDeviceIoControl(pDev->hDriver, IOCTL_VIDEO_HGSMI_HANDLER_ENABLE, &HandlerReg, sizeof(HandlerReg), 353 0, NULL, &cbReturned); 356 354 VBOX_WARN_WINERR(dwrc); 357 355 … … 621 619 void vbvaDrvSaveScreenBits(SURFOBJ *pso, ULONG iMode, ULONG_PTR ident, RECTL *prcl) 622 620 { 623 RT_NOREF(i dent);621 RT_NOREF(iMode, ident); 624 622 PVBOXDISPDEV pDev = (PVBOXDISPDEV)pso->dhpdev; 625 623
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器