SetSystemPowerState(), Where are you?

Shankar Unni shankarunni@netscape.net
Tue Jun 1 19:14:00 GMT 2004


news.gosonic.com wrote:

> I am recently intrigued by the command shudown, which doesn't 
 > work properly on my Windows NT.

"Doesn't work properly"? What happens? Is it ignored? Does it shut down 
but not power off? Hang? What?

What version (4.0?) and Service Pack are you running?

> 4. Where is the source code of SetSystemPowerState()?

Microsoft NT internals.

Anyway, your best bet is to help the forum and maintainers by writing a 
trivial program that calls SetSystemPowerState() and see if it has the 
"same problem" (whatever it is). If it is, then:

* It's a Microsoft problem.
* You can try getting the latest SP if you don't have it.
* You can also help by investigating if there's some other NT API (there 
are many ways to skin this particular feline :-/) that works for you in 
terms of shutting down your box the way you expect it to, and reporting 
that here.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list