Changeset 84814 in vbox for trunk/src/VBox/Main
- Timestamp:
- Jun 12, 2020 12:43:02 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 138620
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r84740 r84814 11791 11791 <enum 11792 11792 name="GuestShutdownFlag" 11793 uuid=" 587309CD-DDDA-4619-82B0-4B764D9D3BC1"11793 uuid="28D19C9C-5862-4930-B29A-F117712B4864" 11794 11794 > 11795 11795 <desc> … … 11805 11805 <const name="Reboot" value="2"> 11806 11806 <desc>Performs a reboot after shutdown.</desc> 11807 </const> 11808 <const name="Force" value="4"> 11809 <desc>Force the system to shutdown/reboot regardless of objecting 11810 application or other stuff. This flag might not be realized on 11811 all systems.</desc> 11807 11812 </const> 11808 11813 </enum> -
trunk/src/VBox/Main/src-client/GuestCtrlImpl.cpp
r84585 r84814 505 505 fFlags |= aFlags[i]; 506 506 507 const uint32_t fValidFlags = GuestShutdownFlag_None | GuestShutdownFlag_PowerOff | GuestShutdownFlag_Reboot; 507 const uint32_t fValidFlags = GuestShutdownFlag_None 508 | GuestShutdownFlag_PowerOff | GuestShutdownFlag_Reboot | GuestShutdownFlag_Force; 508 509 if (fFlags & ~fValidFlags) 509 510 return setError(E_INVALIDARG,tr("Unknown flags: flags value %#x, invalid: %#x"), fFlags, fFlags & ~fValidFlags);
Note:
See TracChangeset
for help on using the changeset viewer.