• SetThreadExecutionState
  • Enabling Away Mode in the Windows Registry




    Download 197.83 Kb.
    bet13/20
    Sana21.03.2017
    Hajmi197.83 Kb.
    #1082
    1   ...   9   10   11   12   13   14   15   16   ...   20

    Enabling Away Mode in the Windows Registry


    Away Mode can be permanently enabled in Windows Registry. When Away Mode is enabled in the Registry, applications do not need to request Away Mode to be enabled by using the Power Management function.

    Enabling Away Mode in the Registry is explicitly designed for scenarios where the system manufacturer has designed the PC and its preload software to behave like a set-top box. When Away Mode is enabled in the Registry, any Sleep power action causes the system to enter Away Mode.

    To permanently enable Away Mode on the system, use the following registry key:

    Key

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
    \Session Manager\Power

    Registry Value

    (DWORD) AwayModeEnabled

    Allowed Values

    0 (default)

    Away Mode is disabled on the system unless an application enables it by using the SetThreadExecutionState API.

    1

    Away Mode is permanently enabled on the system. Applications cannot disable Away Mode by using the SetThreadExecutionState API.

    Value Not Present

    Away Mode is disabled on the system unless an application enables it by using the SetThreadExecutionState API.





    Download 197.83 Kb.
    1   ...   9   10   11   12   13   14   15   16   ...   20




    Download 197.83 Kb.

    Bosh sahifa
    Aloqalar

        Bosh sahifa



    Enabling Away Mode in the Windows Registry

    Download 197.83 Kb.