PNP REMOVE DEVICE

In my Upperlevel cdrom-filter driver I handle the IRP_MJ_PNP in a manner
similar to that of the ddk toaster example. The device is successfully
removed, however, to my dismay, the drive icon in my computer does not
disappear. After a short while the system will page fault. When I remove
the IoDetachDevice and IoDeleteDevice from my IRP_MN_REMOVE_DEVICE the
behaviour is unchanged, except the page faults are now gone.

What am I doing wrong?

Regards,
Maik

VOB COMPUTERSYSTEME GMBH
Joseph-von-Fraunhofer-Str. 15
44227 Dortmund
Germany

Tel. ++49-(0)231-961028-0
Fax ++49-(0)231-961028-88

http: / xxxxx@vob.de mailto:xxxxx

– Excellence in Data Storage Technology --</mailto:xxxxx></http:>

When you are a filesystem filter, you must never detach until your
FastIoDetach entry point is invoked. Because the same volume may be
remounted, the filesystem may be thrifty and reuse the same file system
device object.

-----Original Message-----
From: Maik Langenberg [mailto:xxxxx@vob.de]
Sent: Thursday, November 30, 2000 11:53 AM
To: File Systems Developers
Subject: [ntfsd] PNP REMOVE DEVICE

In my Upperlevel cdrom-filter driver I handle the IRP_MJ_PNP
in a manner
similar to that of the ddk toaster example. The device is successfully
removed, however, to my dismay, the drive icon in my computer does not
disappear. After a short while the system will page fault.
When I remove
the IoDetachDevice and IoDeleteDevice from my IRP_MN_REMOVE_DEVICE the
behaviour is unchanged, except the page faults are now gone.

What am I doing wrong?

Regards,
Maik

VOB COMPUTERSYSTEME GMBH
Joseph-von-Fraunhofer-Str. 15
44227 Dortmund
Germany

Tel. ++49-(0)231-961028-0
Fax ++49-(0)231-961028-88

http: / xxxxx@vob.de mailto:xxxxx
>
> – Excellence in Data Storage Technology –
>
>
>
>
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@nsisw.com
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
></mailto:xxxxx></http:>