I have Wondows XP. My computer is a laptop. Windows is able to control things like turning off the monitor after so many minutes and turning off the hard drive after so many minutes. It can also detect whether the laptop lid is open or closed.
Ok. So, I am writting a program where I'd like to control these things as well. Does anyone know what command(s) will do this.
I figure it is a lib func or a dll or something of the sort. But I have no experience in that field. If you can help, I need specifics.
Such as
"complete comand,,,,,variables, options and a note that would be;
this will turn off your monitor/ change this to.... to have it turn back on
I am mostly interested in the power option that controls the on/off for the monitor. And the ability to detect the lid being open or closed.
And ofcourse, I am ALWAYS open for ANY suggestions for anything that may accomplish this in any other manner. But the commands are preferable.
Thanks in advance,
PepsiHog
......and YES, I have a glass of Pepsi right next to me. And it's only morning.
