Archived

This topic is now archived and is closed to further replies.

Power management

This topic is 5247 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''ve been trying to find out how to do this for a while now but I''ve hence given up trying on my own. What I''m trying to work out how to do is set windows into suspend, standby and turn the monitor on and off from code. I''m positive it can be done, I just have no idea how. Can anybody help? Adrian

Share this post


Link to post
Share on other sites
SetActivePwrScheme()
SetSystemPowerState()
SetSuspendState()
SetSystemPowerState()

Or make your own [fake] WM_POWERBROADCAST

[BTW:MSDN tends to be useful for these kinda things...]

Share this post


Link to post
Share on other sites