VirtualBox

Changeset 84198 in vbox


Ignore:
Timestamp:
May 8, 2020 8:09:50 AM (4 years ago)
Author:
vboxsync
Message:

Guest Control/VbglR3: Added VbglR3GuestCtrlSessionHasChanged() to invalidate the internal state because the (VM) session has been changed (i.e. restored). bugref:9320

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VBoxGuestLib.h

    r83624 r84198  
    947947VBGLR3DECL(int) VbglR3GuestCtrlSessionAccept(uint32_t idClient, uint32_t idSession, void const *pvKey, uint32_t cbKey);
    948948VBGLR3DECL(int) VbglR3GuestCtrlSessionCancelPrepared(uint32_t idClient, uint32_t idSession);
     949VBGLR3DECL(int) VbglR3GuestCtrlSessionHasChanged(uint32_t idClient, uint64_t idNewControlSession);
    949950VBGLR3DECL(int) VbglR3GuestCtrlSessionClose(PVBGLR3GUESTCTRLCMDCTX pCtx, uint32_t fFlags);
    950951VBGLR3DECL(int) VbglR3GuestCtrlSessionNotify(PVBGLR3GUESTCTRLCMDCTX pCtx, uint32_t uType, int32_t iResult);
  • trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibGuestCtrl.cpp

    r82968 r84198  
    667667
    668668/**
     669 * Invalidates the internal state because the (VM) session has been changed (i.e. restored).
     670 *
     671 * @returns VBox status code.
     672 * @param   idClient                Client ID to use for invalidating state.
     673 * @param   idNewControlSession     New control session ID. Currently unused.
     674 */
     675VBGLR3DECL(int) VbglR3GuestCtrlSessionHasChanged(uint32_t idClient, uint64_t idNewControlSession)
     676{
     677    RT_NOREF(idNewControlSession);
     678
     679    vbglR3GuestCtrlDetectPeekGetCancelSupport(idClient);
     680
     681    return VINF_SUCCESS;
     682}
     683
     684
     685/**
    669686 * Asks a specific guest session to close.
    670687 *
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette