- Timestamp:
- Mar 10, 2020 1:20:06 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibSeamless.cpp
r83143 r83246 173 173 VBGLR3DECL(int) VbglR3SeamlessSendMonitorPositions(uint32_t cPositions, PRTPOINT pPositions) 174 174 { 175 if (!pPositions || cPositions <= 0) 176 return VERR_INVALID_PARAMETER; 177 175 178 VMMDevVideoUpdateMonitorPositions *pReq; 176 179 int rc; 177 180 178 AssertPtrReturn(pPositions, VERR_INVALID_PARAMETER);179 180 181 rc = vbglR3GRAlloc((VMMDevRequestHeader **)&pReq, 181 182 sizeof(VMMDevVideoUpdateMonitorPositions) 182 + cPositions * sizeof(RTPOINT) 183 - sizeof(RTPOINT), 183 + (cPositions - 1) * sizeof(RTPOINT), 184 184 VMMDevReq_VideoUpdateMonitorPositions); 185 185 if (RT_SUCCESS(rc))
Note:
See TracChangeset
for help on using the changeset viewer.