Hi all.
I want to shutdown the computer in my driver.
anyone can suggest me how to do?
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
Hi all.
I want to shutdown the computer in my driver.
anyone can suggest me how to do?
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
Try by creating IRP with IRP_MJ_SHUTDOWN and try it.
Regards,
Satish K.S
----- Original Message -----
From:
To: “NT Developers Interest List”
Sent: Monday, April 16, 2001 12:00 AM
Subject: [ntdev] shutdown
> Hi all.
>
> I want to shutdown the computer in my driver.
> anyone can suggest me how to do?
>
> —
> You are currently subscribed to ntdev as: xxxxx@aalayance.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
There is no documented interface to initiate shutdown in kernel-mode.
-Eliyas
-----Original Message-----
From: Satish [mailto:xxxxx@aalayance.com]
Sent: Sunday, April 15, 2001 10:48 PM
To: NT Developers Interest List
Subject: [ntdev] Re: shutdown
Try by creating IRP with IRP_MJ_SHUTDOWN and try it.
Regards,
Satish K.S
----- Original Message -----
From:
To: “NT Developers Interest List”
Sent: Monday, April 16, 2001 12:00 AM
Subject: [ntdev] shutdown
> Hi all.
>
> I want to shutdown the computer in my driver.
> anyone can suggest me how to do?
>
> —
> You are currently subscribed to ntdev as: xxxxx@aalayance.com To
> unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
—
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
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.
Best regards,
Michal Vodicka
Veridicom
(RKK - Skytale)
[WWW: http://www.veridicom.com , http://www.skytale.com]
From: xxxxx@yahoo.com[SMTP:xxxxx@yahoo.com]
Reply To: NT Developers Interest List
Sent: Monday, April 16, 2001 2:00 AM
To: NT Developers Interest List
Subject: [ntdev] shutdownHi all.
I want to shutdown the computer in my driver.
anyone can suggest me how to do?
You are currently subscribed to ntdev as: xxxxx@rkk.cz
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