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: "news.gosonic.com" <coder400 AT hotmail DOT com> Subject: SetSystemPowerState(), Where are you? Date: Mon, 31 May 2004 22:28:47 -0400 Lines: 19 Message-ID: <c9gpi0$85i$1@sea.gmane.org> Reply-To: "news.gosonic.com" <coder400 AT hotmail DOT com> X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: dial229.gosonic.ca X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 Dear group, 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, so I came here. In fact I have four questions: 1. What development tools do you guys use to get rid of " find, nm, grep". 2. Is w32api/libkernel32.a/ds00721.o/SetSystemPowerState AT 8 ( out put of nm -A libkernel32) the link to the defination of the function SetSystemPowerState? What does @8 mean? 3. Where can I find the Makefile for ds00721.o? 4. Where is the source code of SetSystemPowerState()? -- 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/