In minifilter driver,I want to issue a IRP-based operation for IRP_MJ_LOCK_CONTROL.
Can FltPerformSynchronousIo support IRP_MJ_LOCK_CONTROL?
xxxxx@hotmail.com wrote:
In minifilter driver,I want to issue a IRP-based operation for IRP_MJ_LOCK_CONTROL.
Can FltPerformSynchronousIo support IRP_MJ_LOCK_CONTROL?
NTFSD is sponsored by OSR
For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminarsYou are currently subscribed to ntfsd as: matt-martin@tx.rr.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Why not just use FltAllocateFileLock and FltProcessFileLock?
Matt
wrote in message news:xxxxx@ntfsd…
> In minifilter driver,I want to issue a IRP-based operation for
> IRP_MJ_LOCK_CONTROL.
> Can FltPerformSynchronousIo support IRP_MJ_LOCK_CONTROL?
>
Unfortunatel the FltPeformXXXIo cannot do this, this is one of the calls
that requires creating an IRP and thereby bypassing any lower mini-filter.
Unfortunately the FltAllocateFileLock and FltProcessFileLock means you are
taking over the whole locking, which may not be what you want either.
Microsoft really needs to fix some of this, and add some of the FltXXX calls
that are Vista only and offer an alternative FltPeformXXXIo to older OS
revisions.
–
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply