delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/06/01/15:16:11

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
From: Shankar Unni <shankarunni AT netscape DOT net>
Subject: Re: SetSystemPowerState(), Where are you?
Date: Tue, 01 Jun 2004 12:14:29 -0700
Lines: 25
Message-ID: <c9ikio$pru$1@sea.gmane.org>
References: <c9gpi0$85i$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: adsl-68-120-146-125.dsl.snfc21.pacbell.net
User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502)
In-Reply-To: <c9gpi0$85i$1@sea.gmane.org>

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019