Hi,
In my mini-filter I use FltSendMessage from the InstanceSetupCallback and ContextCleanupCallback.
The InstanceSetupCallback waits for a reply from usermode and I currently use an infinite wait. Will this cause any serious issues? I haven’t seen any so far in my testing. I can’t see any other way of pending the callback.
Thanks
This depends on several factors. The first being the OS which you are
running. If I remember correctly the InstanceSetupCallback was invoked
from different areas of the FM code paths in pre-vista vs. post. If you
look at the FltGetVolumeNameGuid() API it explains when this API can be
called … this reflects what you can do in the InstanceSetupCallback
routine. As well it can be effected by what the service is doing while
the driver is blocking the setup callback.
Pete
On 1/30/2014 9:39 AM, xxxxx@yahoo.co.uk wrote:
Hi,
In my mini-filter I use FltSendMessage from the InstanceSetupCallback and ContextCleanupCallback.
The InstanceSetupCallback waits for a reply from usermode and I currently use an infinite wait. Will this cause any serious issues? I haven’t seen any so far in my testing. I can’t see any other way of pending the callback.
Thanks
NTFSD is sponsored by OSR
OSR is hiring!! Info at http://www.osr.com/careers
For our schedule of debugging and file system seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer
–
Kernel Drivers
Windows File System and Device Driver Consulting
www.KernelDrivers.com
866.263.9295