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!
     

Share This Page