Changeset 29003 in vbox for trunk/src/VBox/HostServices/GuestControl
- Timestamp:
- May 4, 2010 11:26:52 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 61039
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/GuestControl/service.cpp
r28887 r29003 513 513 GuestCall guest = mClientList.front(); 514 514 rc = sendHostCmdToGuest(&newCmd, 515 guest.mHandle, guest.mNumParms, guest.mParms);515 guest.mHandle, guest.mNumParms, guest.mParms); 516 516 517 517 /* In any case the client did something, so wake up and remove from list. */ 518 518 mpHelpers->pfnCallComplete(guest.mHandle, rc); 519 519 mClientList.pop_front(); 520 521 /* If command was understood by client, free and remove from host commands list. */ 522 if (RT_SUCCESS(rc)) 520 521 /* If we got VERR_TOO_MUCH_DATA we buffer the host command in the next block 522 * and return success to the host. */ 523 if (rc == VERR_TOO_MUCH_DATA) 524 { 525 rc = VINF_SUCCESS; 526 } 527 else /* If command was understood by the client, free and remove from host commands list. */ 523 528 { 524 529 paramBufferFree(&newCmd.parmBuf); 525 530 fProcessed = true; 526 }527 else if (rc == VERR_TOO_MUCH_DATA)528 {529 /* If we got VERR_TOO_MUCH_DATA we buffer the host command in the next block530 * and return success to the host. */531 rc = VINF_SUCCESS;532 531 } 533 532 }
Note:
See TracChangeset
for help on using the changeset viewer.