I have a function driver which is layered over rot enumerated PDO. Now when
my device is disabled, i get IRP_MN_REMOVE_DEVICE…I do the clean up. I
recieve IRP_MN_QUERY_DEVICE_RELATION which i skip and pass it down. It
returns STATUS_NOT_SUPPORTED.
Immediately i get one more IRP_MN_REMOVE_DEVICE…why is this so?
**************************************************************************
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 should detach your fdo and delete it after processing the IRP_MN_REMOVE device by passing
it down the stack. It sounds like you are not doing this. See the XP ddk section on Removing
a Device in a Function Driver.
FYI bus drivers will normally see remove twice for their pdos.
-----Original Message-----
From: Seshagiri_Babu
To: “NT Developers Interest List”
Date: Wed, 3 Jul 2002 19:14:06 +0530
Subject: [ntdev] IRP_MN_REMOVE_DEVICE recvd. twice for same device
> I have a function driver which is layered over rot enumerated PDO. Now
> when
> my device is disabled, i get IRP_MN_REMOVE_DEVICE…I do the clean up.
> I
> recieve IRP_MN_QUERY_DEVICE_RELATION which i skip and pass it down. It
> returns STATUS_NOT_SUPPORTED.
>
> Immediately i get one more IRP_MN_REMOVE_DEVICE…why is this so?
> ********************************************************************
>
> 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@hollistech.com
> To unsubscribe send a blank email to %%email.unsub%%
Yeah Mark…that’s right. I wasn’t detaching the FDO 
From: Mark Roddy[SMTP:xxxxx@hollistech.com]
Reply To: NT Developers Interest List
Sent: Wednesday, July 03, 2002 7:20 AM
To: NT Developers Interest List
Subject: [ntdev] Re: IRP_MN_REMOVE_DEVICE recvd. twice for same
device
You should detach your fdo and delete it after processing the
IRP_MN_REMOVE device by passing
it down the stack. It sounds like you are not doing this. See the XP ddk
section on Removing
a Device in a Function Driver.
FYI bus drivers will normally see remove twice for their pdos.
-----Original Message-----
From: Seshagiri_Babu
> To: “NT Developers Interest List”
> Date: Wed, 3 Jul 2002 19:14:06 +0530
> Subject: [ntdev] IRP_MN_REMOVE_DEVICE recvd. twice for same device
>
> > I have a function driver which is layered over rot enumerated PDO. Now
> > when
> > my device is disabled, i get IRP_MN_REMOVE_DEVICE…I do the clean up.
> > I
> > recieve IRP_MN_QUERY_DEVICE_RELATION which i skip and pass it down. It
> > returns STATUS_NOT_SUPPORTED.
> >
> > Immediately i get one more IRP_MN_REMOVE_DEVICE…why is this so?
> >
> >
> > 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@hollistech.com
> > To unsubscribe send a blank email to %%email.unsub%%
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@satyam.com
> To unsubscribe send a blank email to %%email.unsub%%
>
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.
************