VirtualBox

Changeset 92865 in vbox


Ignore:
Timestamp:
Dec 10, 2021 2:37:57 PM (3 years ago)
Author:
vboxsync
Message:

Guest Control/VBoxManage: Also register VBoxEventType_OnGuestSessionStateChanged for the watch subcommand, so that GuestSessionEventListener::HandleEvent() shows the current guest session state.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrlListener.cpp

    r92862 r92865  
    477477                    eventTypes.push_back(VBoxEventType_OnGuestFileRegistered);
    478478                    eventTypes.push_back(VBoxEventType_OnGuestProcessRegistered);
     479                    eventTypes.push_back(VBoxEventType_OnGuestSessionStateChanged);
    479480                    CHECK_ERROR_BREAK(es, RegisterListener(pListener, ComSafeArrayAsInParam(eventTypes),
    480481                                                           true /* Active listener */));
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