Hi All,
I have a developed a HID Mini Driver for Mouse.The driver works fine but
when I shutdown,it crashes.There is some event number also shown on the
BSOD.To make PNP manager believe that there is a Device Object present on
the System,I am using install.exe present in NTDDK kit.Once I give my
Hardware ID and inf file path,PNP Manager immediately starts sending me PNP
Irps,followed by Read Report sent by HIDClass.I am handling Power Management
IRP’s at the basic level i.e.,just completing them as they arrive.
I am trying to Log the sequence to the file.But I feel that the file system
driver is getting unloaded before my driver.
How do i solve this problem ?
Thanks & Regards,
Sai Prasad
**************************************************************************
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************
Why donot you try to register for shutdown notification in your driver.
IoRegisterShutdownNotification( ).
cheers,
----- Original Message -----
From: “Sai_Prasad”
To: “NT Developers Interest List”
Sent: Tuesday, May 28, 2002 11:59 AM
Subject: [ntdev] Problem with Shudown
> Hi All,
> I have a developed a HID Mini Driver for Mouse.The driver works fine
but
> when I shutdown,it crashes.There is some event number also shown on the
> BSOD.To make PNP manager believe that there is a Device Object present on
> the System,I am using install.exe present in NTDDK kit.Once I give my
> Hardware ID and inf file path,PNP Manager immediately starts sending me
PNP
> Irps,followed by Read Report sent by HIDClass.I am handling Power
Management
> IRP’s at the basic level i.e.,just completing them as they arrive.
> I am trying to Log the sequence to the file.But I feel that the file
system
> driver is getting unloaded before my driver.
>
> How do i solve this problem ?
>
> Thanks & Regards,
> Sai Prasad
>
>
> This email (including any attachments) is intended for the sole use of the
> intended recipient/s and may contain material that is CONFIDENTIAL AND
> PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying
or
> distribution or forwarding of any or all of the contents in this message
is
> STRICTLY PROHIBITED. If you are not the intended recipient, please contact
> the sender by email and delete all copies; your cooperation in this regard
> is appreciated.
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@vsnl.net
> To unsubscribe send a blank email to %%email.unsub%%