Skip to main content
gamedev.net
🔒 Locked

Power management

Started by RamboBones Aug 5, 2003 at 5:00 PM 2 replies 350+ views
Original Post
RamboBones
RamboBones
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
S1CA
S1CA
SetActivePwrScheme()
SetSystemPowerState()
SetSuspendState()
SetSystemPowerState()

Or make your own [fake] WM_POWERBROADCAST

[BTW:MSDN tends to be useful for these kinda things...]
Simon O'Connor | Technical Director (Newcastle) Lockwood Publishing | LinkedIn | Personal site
Shannon Barber
Shannon Barber
Can you send a broadcast Windows message via an RPC call?
The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.