How do I prevent unloading a minifilter via the NET STOP command?
The command reaches the minifilters Unload Callback with FLTFL_FILTER_UNLOAD_MANDATORY.
If I ignore the flag (and return STATUS_FLT_DO_NOT_DETACH) the system hangs.
How do I prevent unloading a minifilter via the NET STOP command?
The command reaches the minifilters Unload Callback with FLTFL_FILTER_UNLOAD_MANDATORY.
If I ignore the flag (and return STATUS_FLT_DO_NOT_DETACH) the system hangs.
In your FLT_REGISTRATION structure you should set the flag
FLTFL_REGISTRATION_DO_NOT_SUPPORT_SERVICE_STOP in the flags.
Ben
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@rsj.de
Sent: 23 March 2007 09:56
To: Windows File Systems Devs Interest List
Subject: [ntfsd] How to prevent unloading of a minifilter
How do I prevent unloading a minifilter via the NET STOP command?
The command reaches the minifilters Unload Callback with
FLTFL_FILTER_UNLOAD_MANDATORY.
If I ignore the flag (and return STATUS_FLT_DO_NOT_DETACH) the system
hangs.
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: xxxxx@des.co.uk To unsubscribe
send a blank email to xxxxx@lists.osr.com
Thank you, that helped
Ruediger