This is the mail archive of the
mailing list for the Cygwin project.
Re: shutdown-1.3-1 patch for Win9x
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 13 Sep 2003 11:13:29 +0200
- Subject: Re: shutdown-1.3-1 patch for Win9x
- References: <email@example.com>
- Reply-to: cygwin at cygwin dot com
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 Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:firstname.lastname@example.org
Red Hat, Inc.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html