Hello All,
Is it possible for a device driver to shutdown a machine running Win2000 or
Win98?
Regards,
Rob Barnes
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
No. There is no documented interface to do so.
-----Original Message-----
From: Robert Barnes [mailto:xxxxx@farallon.com.au]
Sent: Thursday, June 21, 2001 2:52 PM
To: NT Developers Interest List
Subject: [ntdev] Can driver shutdown a machine?
Hello All,
Is it possible for a device driver to shutdown a machine running Win2000
or
Win98?
Regards,
Rob Barnes
You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
Not exactly what your after, but
Try using this,
In a win32 app/service,then send an IOCTL to your driver, complete it in
your driver only when you want the app to shut windows down.
In the App use
BOOL ExitWindowsEx(
UINT uFlags, // shutdown operation
DWORD dwReserved // reserved
);
Rod.
-----Original Message-----
From: Robert Barnes [mailto:xxxxx@farallon.com.au]
Sent: Friday, 22 June 2001 7:52
To: NT Developers Interest List
Subject: [ntdev] Can driver shutdown a machine?
Hello All,
Is it possible for a device driver to shutdown a machine running Win2000 or
Win98?
Regards,
Rob Barnes
You are currently subscribed to ntdev as: xxxxx@mobilesoft.com.au
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
This email message and any accompanying attachments may contain information
that is confidential and is subject to legal privilege. If you are not the
intended recipient, do not read, use, disseminate, distribute or copy this
message or attachments. If you have received this message in error, please
notify the sender immediately and delete this message. Any views expressed
in this message are those of the individual sender, except where the sender
expressly, and with authority, states them to be the views of Mobilesoft Pty
Ltd. Before opening any attachments, please check them for viruses and
defects.
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
posted earlier on ntdev
If you really need it (why?), you can use undocumented ZwShutdownSystem()
function. Unfortunately, it isn’t exported by ntoskrnl.exe so the only way
how to use it from kernel driver is to call it via int 2eh. Be careful,
there may a good reason why it isn’t exported in kernel.
regards
jeseem
mailto:xxxxx@hotmail.com
----- Original Message -----
From: “Rodney Sigmund”
To: “NT Developers Interest List”
Sent: Friday, June 22, 2001 5:58 AM
Subject: [ntdev] RE: Can driver shutdown a machine?
>
> Not exactly what your after, but
>
> Try using this,
>
> In a win32 app/service,then send an IOCTL to your driver, complete it in
> your driver only when you want the app to shut windows down.
>
> In the App use
>
> BOOL ExitWindowsEx(
> UINT uFlags, // shutdown operation
> DWORD dwReserved // reserved
> );
>
>
> Rod.
>
> -----Original Message-----
> From: Robert Barnes [mailto:xxxxx@farallon.com.au]
> Sent: Friday, 22 June 2001 7:52
> To: NT Developers Interest List
> Subject: [ntdev] Can driver shutdown a machine?
>
>
> Hello All,
>
> Is it possible for a device driver to shutdown a machine running Win2000
or
> Win98?
>
> Regards,
> Rob Barnes
>
> —
> You are currently subscribed to ntdev as: xxxxx@mobilesoft.com.au
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
> This email message and any accompanying attachments may contain
information
> that is confidential and is subject to legal privilege. If you are not the
> intended recipient, do not read, use, disseminate, distribute or copy this
> message or attachments. If you have received this message in error, please
> notify the sender immediately and delete this message. Any views expressed
> in this message are those of the individual sender, except where the
sender
> expressly, and with authority, states them to be the views of Mobilesoft
Pty
> Ltd. Before opening any attachments, please check them for viruses and
> defects.
>
> —
> You are currently subscribed to ntdev as: xxxxx@hotmail.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com