Patch to add NtShutdownSystem() to w32api

Earnie Boyd
Sun Jun 16 05:26:00 GMT 2002

egor duda wrote:
> Hi!
>   NtShutdownSystem() is crude no-caches-flushed-and-no-apps-notified
> but almost always working way to restart nt system.
> egor.   icq 5165414 fidonet 2:5020/496.19
>   ------------------------------------------------------------------------
>                                    Name: w32api-ntshutdownsystem.diff
>    w32api-ntshutdownsystem.diff    Type: unspecified type (application/octet-stream)
>                                Encoding: base64
>                                         Name: w32api-ntshutdownsystem.ChangeLog
>    w32api-ntshutdownsystem.ChangeLog    Type: unspecified type (application/octet-stream)
>                                     Encoding: base64

Uh, these aren't yet a part of w32api.  Cygwin, supplies a header for
one in winsup/cygwin and I know that both WINE and ReactOS both have
their own versions.  We have discussed on the mingw-dvlpr list of
possibly adding this so that everyone doesn't have to invent new
wheels.  I see that you have a new file for ntdll.h but from where did
you get your ntdll.def?


More information about the Cygwin-patches mailing list