Changeset 68654 in vbox for trunk/src/VBox/Additions/WINNT/Mouse
- Timestamp:
- Sep 5, 2017 5:22:12 PM (7 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Mouse
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Mouse/NT4/VBoxPS2NT.cpp
r68636 r68654 1465 1465 if (pReq) 1466 1466 { 1467 int rc = Vbgl GRPerform (&pReq->header);1467 int rc = VbglR0GRPerform (&pReq->header); 1468 1468 if (RT_SUCCESS(rc)) 1469 1469 { … … 1507 1507 if (pReq) 1508 1508 { 1509 int rc = Vbgl GRPerform(&pReq->header);1509 int rc = VbglR0GRPerform(&pReq->header); 1510 1510 if (RT_SUCCESS(rc)) 1511 1511 { … … 2142 2142 VMMDevReqMouseStatus *pReq = NULL; 2143 2143 2144 rcVBox = Vbgl GRAlloc((VMMDevRequestHeader**)&pReq, sizeof(VMMDevReqMouseStatus), VMMDevReq_SetMouseStatus);2144 rcVBox = VbglR0GRAlloc((VMMDevRequestHeader**)&pReq, sizeof(VMMDevReqMouseStatus), VMMDevReq_SetMouseStatus); 2145 2145 if (RT_SUCCESS(rcVBox)) 2146 2146 { … … 2149 2149 pReq->pointerXPos = 0; 2150 2150 pReq->pointerYPos = 0; 2151 rcVBox = Vbgl GRPerform(&pReq->header);2151 rcVBox = VbglR0GRPerform(&pReq->header); 2152 2152 if (RT_FAILURE(rcVBox)) 2153 2153 Log(("VBoxMouseNT::DriverEntry: ERROR communicating new mouse capabilities to VMMDev. rc = %Rrc\n", rcVBox)); -
trunk/src/VBox/Additions/WINNT/Mouse/NT5/VBoxMFInternal.cpp
r68633 r68654 111 111 if (g_ctx.fIsNewProtEnabled) 112 112 return true; 113 int rc = Vbgl SetMouseNotifyCallback(vboxNewProtMouseEventCb, NULL);113 int rc = VbglR0SetMouseNotifyCallback(vboxNewProtMouseEventCb, NULL); 114 114 if (RT_SUCCESS(rc)) 115 115 { … … 118 118 return true; 119 119 } 120 WARN(("Vbgl SetMouseNotifyCallback failed: %Rrc", rc));120 WARN(("VbglR0SetMouseNotifyCallback failed: %Rrc", rc)); 121 121 return false; 122 122 } … … 133 133 { 134 134 g_ctx.fIsNewProtEnabled = false; 135 int rc = Vbgl SetMouseNotifyCallback(NULL, NULL);135 int rc = VbglR0SetMouseNotifyCallback(NULL, NULL); 136 136 if (RT_FAILURE(rc)) 137 WARN(("Vbgl SetMouseNotifyCallback failed: %Rrc", rc));137 WARN(("VbglR0SetMouseNotifyCallback failed: %Rrc", rc)); 138 138 } 139 139 } … … 202 202 if (pDevExt->pSCReq) 203 203 { 204 int rc = Vbgl GRPerform(&pDevExt->pSCReq->header);204 int rc = VbglR0GRPerform(&pDevExt->pSCReq->header); 205 205 if (RT_SUCCESS(rc)) 206 206 { … … 225 225 else 226 226 { 227 WARN(("Vbgl GRPerform failed with rc=%Rrc", rc));227 WARN(("VbglR0GRPerform failed with rc=%Rrc", rc)); 228 228 } 229 229 } … … 380 380 { 381 381 VMMDevReqMouseStatus *req = NULL; 382 int rc = Vbgl GRAlloc((VMMDevRequestHeader **)&req, sizeof(VMMDevReqMouseStatus), VMMDevReq_SetMouseStatus);382 int rc = VbglR0GRAlloc((VMMDevRequestHeader **)&req, sizeof(VMMDevReqMouseStatus), VMMDevReq_SetMouseStatus); 383 383 if (RT_SUCCESS(rc)) 384 384 { … … 390 390 req->pointerYPos = 0; 391 391 392 rc = Vbgl GRPerform(&req->header);392 rc = VbglR0GRPerform(&req->header); 393 393 if (RT_SUCCESS(rc)) 394 394 InterlockedExchange(&g_ctx.fHostInformed, TRUE); 395 395 else 396 WARN(("Vbgl GRPerform failed with rc=%Rrc", rc));397 398 Vbgl GRFree(&req->header);396 WARN(("VbglR0GRPerform failed with rc=%Rrc", rc)); 397 398 VbglR0GRFree(&req->header); 399 399 } 400 400 else 401 WARN(("Vbgl GRAlloc failed with rc=%Rrc", rc));401 WARN(("VbglR0GRAlloc failed with rc=%Rrc", rc)); 402 402 } 403 403 … … 406 406 { 407 407 VMMDevReqMouseStatus *req = NULL; 408 int rc = Vbgl GRAlloc((VMMDevRequestHeader **)&req, sizeof(VMMDevReqMouseStatus), VMMDevReq_GetMouseStatus);408 int rc = VbglR0GRAlloc((VMMDevRequestHeader **)&req, sizeof(VMMDevReqMouseStatus), VMMDevReq_GetMouseStatus); 409 409 if (RT_SUCCESS(rc)) 410 410 InterlockedExchangePointer((PVOID volatile *)&pDevExt->pSCReq, req); 411 411 else 412 412 { 413 WARN(("Vbgl GRAlloc for service callback failed with rc=%Rrc", rc));413 WARN(("VbglR0GRAlloc for service callback failed with rc=%Rrc", rc)); 414 414 } 415 415 } … … 430 430 { 431 431 VMMDevReqMouseStatus *req = NULL; 432 int rc = Vbgl GRAlloc((VMMDevRequestHeader **)&req, sizeof(VMMDevReqMouseStatus), VMMDevReq_SetMouseStatus);432 int rc = VbglR0GRAlloc((VMMDevRequestHeader **)&req, sizeof(VMMDevReqMouseStatus), VMMDevReq_SetMouseStatus); 433 433 if (RT_SUCCESS(rc)) 434 434 { … … 437 437 req->pointerYPos = 0; 438 438 439 rc = Vbgl GRPerform(&req->header);439 rc = VbglR0GRPerform(&req->header); 440 440 if (RT_FAILURE(rc)) 441 WARN(("Vbgl GRPerform failed with rc=%Rrc", rc));442 443 Vbgl GRFree(&req->header);441 WARN(("VbglR0GRPerform failed with rc=%Rrc", rc)); 442 443 VbglR0GRFree(&req->header); 444 444 } 445 445 else 446 WARN(("Vbgl GRAlloc failed with rc=%Rrc", rc));446 WARN(("VbglR0GRAlloc failed with rc=%Rrc", rc)); 447 447 448 448 InterlockedExchange(&g_ctx.fHostInformed, FALSE); … … 464 464 KeReleaseSpinLock(&g_ctx.SyncLock, Irql); 465 465 if (pSCReq) 466 Vbgl GRFree(&pSCReq->header);466 VbglR0GRFree(&pSCReq->header); 467 467 468 468 /*
Note:
See TracChangeset
for help on using the changeset viewer.