Changeset 78093 in vbox for trunk/src/VBox/Main/src-client/GuestDnDTargetImpl.cpp
- Timestamp:
- Apr 10, 2019 3:11:29 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestDnDTargetImpl.cpp
r78084 r78093 307 307 308 308 /* Adjust the coordinates in a multi-monitor setup. */ 309 int rc = G uestDnDInst()->adjustScreenCoordinates(aScreenId, &aX, &aY);309 int rc = GUESTDNDINST()->adjustScreenCoordinates(aScreenId, &aX, &aY); 310 310 if (RT_SUCCESS(rc)) 311 311 { … … 322 322 Msg.setNextUInt32(cbFormats); 323 323 324 rc = G uestDnDInst()->hostCall(Msg.getType(), Msg.getCount(), Msg.getParms());324 rc = GUESTDNDINST()->hostCall(Msg.getType(), Msg.getCount(), Msg.getParms()); 325 325 if (RT_SUCCESS(rc)) 326 326 { 327 GuestDnDResponse *pResp = G uestDnDInst()->response();327 GuestDnDResponse *pResp = GUESTDNDINST()->response(); 328 328 if (pResp && RT_SUCCESS(pResp->waitForGuestResponse())) 329 329 resAction = GuestDnD::toMainAction(pResp->getActionDefault()); … … 385 385 HRESULT hr = S_OK; 386 386 387 int rc = G uestDnDInst()->adjustScreenCoordinates(aScreenId, &aX, &aY);387 int rc = GUESTDNDINST()->adjustScreenCoordinates(aScreenId, &aX, &aY); 388 388 if (RT_SUCCESS(rc)) 389 389 { … … 400 400 Msg.setNextUInt32(cbFormats); 401 401 402 rc = G uestDnDInst()->hostCall(Msg.getType(), Msg.getCount(), Msg.getParms());402 rc = GUESTDNDINST()->hostCall(Msg.getType(), Msg.getCount(), Msg.getParms()); 403 403 if (RT_SUCCESS(rc)) 404 404 { 405 GuestDnDResponse *pResp = G uestDnDInst()->response();405 GuestDnDResponse *pResp = GUESTDNDINST()->response(); 406 406 if (pResp && RT_SUCCESS(pResp->waitForGuestResponse())) 407 407 resAction = GuestDnD::toMainAction(pResp->getActionDefault()); … … 440 440 Msg.setNextUInt32(0); /** @todo ContextID not used yet. */ 441 441 442 int rc = G uestDnDInst()->hostCall(Msg.getType(), Msg.getCount(), Msg.getParms());442 int rc = GUESTDNDINST()->hostCall(Msg.getType(), Msg.getCount(), Msg.getParms()); 443 443 if (RT_SUCCESS(rc)) 444 444 { 445 GuestDnDResponse *pResp = G uestDnDInst()->response();445 GuestDnDResponse *pResp = GUESTDNDINST()->response(); 446 446 if (pResp) 447 447 pResp->waitForGuestResponse(); … … 507 507 508 508 /* Adjust the coordinates in a multi-monitor setup. */ 509 HRESULT hr = G uestDnDInst()->adjustScreenCoordinates(aScreenId, &aX, &aY);509 HRESULT hr = GUESTDNDINST()->adjustScreenCoordinates(aScreenId, &aX, &aY); 510 510 if (SUCCEEDED(hr)) 511 511 { … … 522 522 Msg.setNextUInt32(cbFormats); 523 523 524 int vrc = G uestDnDInst()->hostCall(Msg.getType(), Msg.getCount(), Msg.getParms());524 int vrc = GUESTDNDINST()->hostCall(Msg.getType(), Msg.getCount(), Msg.getParms()); 525 525 if (RT_SUCCESS(vrc)) 526 526 { 527 GuestDnDResponse *pResp = G uestDnDInst()->response();527 GuestDnDResponse *pResp = GUESTDNDINST()->response(); 528 528 AssertPtr(pResp); 529 529 … … 625 625 626 626 /* Ditto. */ 627 GuestDnDResponse *pResp = G uestDnDInst()->response();627 GuestDnDResponse *pResp = GUESTDNDINST()->response(); 628 628 AssertPtr(pResp); 629 629 … … 838 838 } 839 839 840 int rc = G uestDnDInst()->hostCall(Msg.getType(), Msg.getCount(), Msg.getParms());840 int rc = GUESTDNDINST()->hostCall(Msg.getType(), Msg.getCount(), Msg.getParms()); 841 841 if (RT_SUCCESS(rc)) 842 842 rc = updateProgress(pData, pCtx->mpResp, pData->getMeta().getSize()); … … 869 869 Msg.setNextUInt32(0); /** @todo cbChecksum; not used yet. */ 870 870 871 int rc = G uestDnDInst()->hostCall(Msg.getType(), Msg.getCount(), Msg.getParms());871 int rc = GUESTDNDINST()->hostCall(Msg.getType(), Msg.getCount(), Msg.getParms()); 872 872 873 873 LogFlowFuncLeaveRC(rc);
Note:
See TracChangeset
for help on using the changeset viewer.