This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: shutdown-1.3-1 patch for Win9x


On Sat, Sep 13, 2003 at 05:30:55AM +0000, Mark Ord wrote:
> Although shutdown.exe works fine on NT (XP at least), it's not possible to
> shutdown a system to a power off state with shutdown.exe on Win9x
> (Win98SE tested).
> 
> It's been my experience (on Win98SE anyway) that it's directly related
> to the ShutdownEx() API. Despite what the API docs say, EWX_POWEROFF
> actually performs a log off, while EWX_SHUTDOWN performs a power off
> shutdown, on Win9x. This behavour seems to hold true even in a non
> cygwin application.
> 
> The following patch to shutdown-1.3-1 makes 'shutdown -s' work as
> expected (power off, instead of log off) on Win9x, tested on Win98SE.

Thanks for the patch.  I've included it slightly different formatted.
I've uploaded a new version 1.4-1 with this patch to cygwin.com.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]