VirtualBox

Changeset 39727 in vbox for trunk/src


Ignore:
Timestamp:
Jan 8, 2012 4:51:52 PM (13 years ago)
Author:
vboxsync
Message:

VINF_SYS_MAY_POWER_OFF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/RTSystemShutdown-win.cpp

    r39726 r39727  
    5757                                fForceAppsClosed,
    5858                                fRebootAfterShutdown))
    59         return VINF_SUCCESS;
     59        return (fFlags & RTSYSTEM_SHUTDOWN_ACTION_MASK) == RTSYSTEM_SHUTDOWN_HALT ? VINF_SYS_MAY_POWER_OFF : VINF_SUCCESS;
    6060    return RTErrConvertFromWin32(GetLastError());
    6161}
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