- Timestamp:
- Dec 2, 2018 12:43:41 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 127067
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/GuestSessionImpl.h
r75861 r75863 257 257 * The key specifies the (global) context ID. */ 258 258 typedef std::map <uint32_t, SessionObject> SessionObjects; 259 /** Queue containing context IDs which are no longer in use.260 * Useful for quickly retrieving a new, unused context ID. */261 typedef std::deque <uint32_t> SessionObjectsFree;262 259 263 260 public: -
trunk/src/VBox/Main/src-client/GuestCtrlImpl.cpp
r75862 r75863 169 169 */ 170 170 bool fDispatch = true; 171 rc = VERR_INVALID_FUNCTION; 171 172 if ( pCtxCb->uFunction == GUEST_EXEC_STATUS 172 173 && pSvcCb->mParms >= 5) … … 185 186 Assert(dataCb.uPID == 0); 186 187 fDispatch = false; 187 rc = VINF_SUCCESS;188 188 } 189 189 } … … 220 220 } 221 221 } 222 else223 rc = VERR_INVALID_FUNCTION;224 222 } 225 223 else -
trunk/src/VBox/Main/src-client/GuestCtrlPrivate.cpp
r75861 r75863 1262 1262 * for this event. Optional. 1263 1263 */ 1264 int GuestBase::waitForEvent(GuestWaitEvent *p Event, uint32_t msTimeout, VBoxEventType_T *pType, IEvent **ppEvent)1265 { 1266 AssertPtrReturn(p Event, VERR_INVALID_POINTER);1264 int GuestBase::waitForEvent(GuestWaitEvent *pWaitEvt, uint32_t msTimeout, VBoxEventType_T *pType, IEvent **ppEvent) 1265 { 1266 AssertPtrReturn(pWaitEvt, VERR_INVALID_POINTER); 1267 1267 /* pType is optional. */ 1268 1268 /* ppEvent is optional. */ 1269 1269 1270 int vrc = p Event->Wait(msTimeout);1270 int vrc = pWaitEvt->Wait(msTimeout); 1271 1271 if (RT_SUCCESS(vrc)) 1272 1272 { 1273 const ComPtr<IEvent> pThisEvent = p Event->Event();1273 const ComPtr<IEvent> pThisEvent = pWaitEvt->Event(); 1274 1274 if (pThisEvent.isNotNull()) /* Having a VBoxEventType_ event is optional. */ /** @todo r=bird: misplaced comment? */ 1275 1275 {
Note:
See TracChangeset
for help on using the changeset viewer.