Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 31 May 2004 22:49:14 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: SetSystemPowerState(), Where are you? Message-ID: <20040601024914.GA25925@coe.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i On Mon, May 31, 2004 at 10:28:47PM -0400, news.gosonic.com wrote: >I am recently intrigued by the command shudown, which doesn't work >properly on my Windows NT. So, I digged into it's source code. After >a few find, nm and grep, I find the functions SetSystemPowerState(), >which could be generating the problem. But I can't go further down, >because I couldn't find the source of SetSystemPowerState(). > >I have been confused for days, There are no sources available for Windows NT itself. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/power/base/setsystempowerstate.asp -- 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/