Hi,
I am writing a kernel driver for win2k. not a PNP driver.
i am try to catch when the system shutdown (D3 state) without a PNP driver.
is it possible to get MJ_POWER without PNP ?
if there isn’t a way … what is the most easyest way to implemented a PNP driver that really dont use any PNP functions (excpt the D3)
Thanks,
Elad Zucker
I’m not sure whether you want to catch shutdown or power down requests. You
can get shutdown notification in your driver if you specify a shutdown
handler and register your deviceobject using IoRegisterShutdownNotification.
This works both for PnP and non-PnP driver. In order to catch power down
requests you must write a WDM driver. PnP dispatch handlers are required for
a WDM driver to run. So you cannot just have power handler without having
PnP handlers. Tell us what you are exactly trying to achieve.
-Eliyas
-----Original Message-----
From: Elad Zucker [mailto:xxxxx@netvision.net.il]
Sent: Wednesday, March 08, 2000 1:15 PM
To: File Systems Developers
Subject: [ntfsd] notify shutdown.
Hi,
I am writing a kernel driver for win2k. not a PNP driver.
i am try to catch when the system shutdown (D3 state) without a PNP driver.
is it possible to get MJ_POWER without PNP ?
if there isn’t a way … what is the most easyest way to implemented a PNP
driver that really dont use any PNP functions (excpt the D3)
Thanks,
Elad Zucker