Power State Change notification

Discussion in 'Parallels Provider for Vagrant' started by klaust2, Oct 1, 2019.

  1. klaust2

    klaust2 Bit poster

    Messages:
    3
    I am a C++ developer, and I am just testing power state changes on Windows.
    I am wondering whether Parallels would let the guest OS know it gets paused/suspended, such that Windows broadcasts the WM_POWERBROADCAST message and notifies services via SERVICE_CONTROL_POWEREVENT?
     
  2. klaust2

    klaust2 Bit poster

    Messages:
    3
  3. DeboltC

    DeboltC Bit poster

    Messages:
    2
    Although drivers cannot directly set system power policy, the power manager provides three routines through which a driver can prevent system transitions out of the working state.
     
  4. DeboltC

    DeboltC Bit poster

    Messages:
    2
    As i tried this yesterday, and it is still working, thanks!
     
  5. Krysalisco

    Krysalisco Bit poster

    Messages:
    8
    I am a C ++ developer, testing power level changes in Windows.
    I'm wondering if Parallels will announce that Guest OS has been paused/stopped, in order to broadcast the Windows WM_POWERBROADCAST message and notify services.
     

Share This Page