Changeset 52978 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Oct 8, 2014 7:09:11 AM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 96430
- Location:
- trunk/src/VBox/Main/src-client
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleVRDPServer.cpp
r52923 r52978 1104 1104 { 1105 1105 ULONG dummy; 1106 GuestMonitorStatus_T monitorStatus; 1106 1107 hr = server->mConsole->i_getDisplay()->GetScreenResolution(uScreenId, &dummy, &dummy, &dummy, 1107 &xOrigin, &yOrigin);1108 &xOrigin, &yOrigin, &monitorStatus); 1108 1109 1109 1110 if (SUCCEEDED(hr)) -
trunk/src/VBox/Main/src-client/DisplayImpl.cpp
r52934 r52978 1448 1448 ///////////////////////////////////////////////////////////////////////////// 1449 1449 HRESULT Display::getScreenResolution(ULONG aScreenId, ULONG *aWidth, ULONG *aHeight, ULONG *aBitsPerPixel, 1450 LONG *aXOrigin, LONG *aYOrigin )1450 LONG *aXOrigin, LONG *aYOrigin, GuestMonitorStatus_T *aGuestMonitorStatus) 1451 1451 { 1452 1452 LogRelFlowFunc(("aScreenId=%RU32\n", aScreenId)); … … 1459 1459 int32_t xOrigin = 0; 1460 1460 int32_t yOrigin = 0; 1461 bool fEnabled = true; 1461 1462 1462 1463 if (aScreenId == VBOX_VIDEO_PRIMARY_SCREEN) … … 1483 1484 xOrigin = pFBInfo->xOrigin; 1484 1485 yOrigin = pFBInfo->yOrigin; 1486 fEnabled = !RT_BOOL(pFBInfo->flags & VBVA_SCREEN_F_DISABLED); 1485 1487 } 1486 1488 else … … 1499 1501 if (aYOrigin) 1500 1502 *aYOrigin = yOrigin; 1503 if (aGuestMonitorStatus) 1504 *aGuestMonitorStatus = fEnabled? GuestMonitorStatus_Enabled: GuestMonitorStatus_Disabled; 1501 1505 1502 1506 return S_OK; -
trunk/src/VBox/Main/src-client/GuestDnDPrivate.cpp
r52082 r52978 478 478 ULONG dummy; 479 479 LONG xShift, yShift; 480 GuestMonitorStatus_T monitorStatus; 480 481 hr = pDisplay->GetScreenResolution(uScreenId, &dummy, &dummy, &dummy, 481 &xShift, &yShift );482 &xShift, &yShift, &monitorStatus); 482 483 if (FAILED(hr)) 483 484 return hr;
Note:
See TracChangeset
for help on using the changeset viewer.