Changeset 75853 in vbox for trunk/include/VBox/HostServices/GuestControlSvc.h
- Timestamp:
- Nov 30, 2018 7:26:42 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/HostServices/GuestControlSvc.h
r75824 r75853 322 322 * uint64_t is ~8U). 323 323 * 324 * Does also support the VM restore checking as in GUEST_MSG_PEEK_WAIT (64-bit 325 * param \# 0), see documentation there. 326 * 324 327 * @retval VINF_SUCCESS if a message was pending and is being returned. 325 328 * @retval VERR_TRY_AGAIN if no message pending. 329 * @retval VERR_VM_RESTORED if first parameter is a non-zero 64-bit value that 330 * does not match VbglR3GetSessionId() any more. The new value is 331 * returned. 326 332 * @retval VERR_INVALID_CLIENT_ID 327 333 * @retval VERR_WRONG_PARAMETER_COUNT … … 338 344 * uint64_t is ~8U). 339 345 * 346 * To facilitate VM restore checking, the first parameter can be a 64-bit 347 * integer holding the VbglR3GetSessionId() value the guest knowns. The 348 * function will then check this before going to sleep and return 349 * VERR_VM_RESTORED if it doesn't match, same thing happens when the VM is 350 * restored. 351 * 340 352 * @retval VINF_SUCCESS if info about an pending message is being returned. 341 353 * @retval VINF_TRY_AGAIN and message set to HOST_CANCEL_PENDING_WAITS if 342 354 * cancelled by GUEST_MSG_CANCEL. 343 355 * @retval VERR_RESOURCE_BUSY if another thread already made a waiting call. 356 * @retval VERR_VM_RESTORED if first parameter is a non-zero 64-bit value that 357 * does not match VbglR3GetSessionId() any more. The new value is 358 * returned. 344 359 * @retval VERR_INVALID_CLIENT_ID 345 360 * @retval VERR_WRONG_PARAMETER_COUNT
Note:
See TracChangeset
for help on using the changeset viewer.