Hello,
Include windows.h and then check out http://msdn.microsoft.com/en-us/library/aa383749(VS.85).aspx.
I think you win a prize for the strangest request to a programming ide forum this year!
cheers,
Matt
________________________________________
From: Heedle Blambeedle [hee...@gm...]
Sent: 10 May 2009 17:13
To: dev...@li...
Subject: [Dev-C++] C++ Program Shutdown Look-alike?
Hello.
I need a program to display the windows shutdown screen, turn off the monitor and sound, and (if possible) the LED on the power button on the computer?
I would just need the commands for it, but if anybody is up for a challenge writing the program for me would be greatly appreciated.
I understand if people don't really have the time to make the program, so I would just need the commands.
Thank you,
Heedle
This email was sent from an email account of BMW (UK) Manufacturing Limited. BMW (UK) Manufacturing Limited is a company registered in England and Wales with company number 3950868; and has its offices at Ellesfield Avenue, Bracknell, Berkshire, RG12 8TA; registered in England and Wales. The contents of this e-mail are confidential and may be privileged and subject to internal monitoring. If you are not the addressee indicated in this message, you may not copy, forward, disclose, deliver or otherwise use it or any part of it in any form whatsoever. You should then kindly notify the sender by replying to this message and destroy it thereafter. Opinions, conclusions and other information in this message that do not relate to the official business of any BMW Group Company shall be understood as neither given nor endorsed by them.
|