Prevent unloading a driver

Hi, all

I have a driver object of another driver (not FS driver, not FS
filter). I save this driver object and reference it. Will it
prevent unloading the driver ?

L.


Potrebujete vice prostoru pro vase stranky?
Ptejte se na http://sluzby.volny.cz/cs/product/ftp_paid

Yes, adding a reference to a driver object will prevent that driver from
unloading.

Neal Christiansen
Microsoft File System Filter Group

This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ladislav Zezula
Sent: Thursday, November 13, 2003 10:19 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Prevent unloading a driver

Hi, all

I have a driver object of another driver (not FS driver, not FS
filter). I save this driver object and reference it. Will it
prevent unloading the driver ?

L.


Potrebujete vice prostoru pro vase stranky?
Ptejte se na http://sluzby.volny.cz/cs/product/ftp_paid


You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Will doing “pOtherDriverObject->DriverUnload = NULL” prevent the driver
unload too?

Regards,
Elias

“Neal Christiansen” wrote in message
news:xxxxx@ntfsd…

Yes, adding a reference to a driver object will prevent that driver from
unloading.

Neal Christiansen
Microsoft File System Filter Group

This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ladislav Zezula
Sent: Thursday, November 13, 2003 10:19 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Prevent unloading a driver

Hi, all

I have a driver object of another driver (not FS driver, not FS
filter). I save this driver object and reference it. Will it
prevent unloading the driver ?

L.

Yes, surely.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “lallous”
Newsgroups: ntfsd
To: “Windows File Systems Devs Interest List”
Sent: Thursday, November 20, 2003 11:14 AM
Subject: [ntfsd] Re: Prevent unloading a driver

> Will doing “pOtherDriverObject->DriverUnload = NULL” prevent the driver
> unload too?
>
> Regards,
> Elias
>
> “Neal Christiansen” wrote in message
> news:xxxxx@ntfsd…
>
> Yes, adding a reference to a driver object will prevent that driver from
> unloading.
>
> Neal Christiansen
> Microsoft File System Filter Group
>
> This posting is provided “AS IS” with no warranties, and confers no
> rights.
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Ladislav Zezula
> Sent: Thursday, November 13, 2003 10:19 PM
> To: Windows File Systems Devs Interest List
> Subject: [ntfsd] Prevent unloading a driver
>
> Hi, all
>
> I have a driver object of another driver (not FS driver, not FS
> filter). I save this driver object and reference it. Will it
> prevent unloading the driver ?
>
> L.
>
>
>
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com

> Yes, adding a reference to a driver object will prevent that driver from

unloading.

OK, I checked once again, and the driver really remains im memory,
when the DriverObject is referenced.
Only Soft-ICE shows “Unknown driver” when I ask for it.

L.