But I am filtering this only for text files…like all kind of source files.
One more problem is my filter is inserting some header in text files for
each IRP_MJ_CREATE and remove header in IRP_MJ_READ.
It is working fine MS Visual studia ,MS word etc… but not with notepad.I
think it is because of Memory mapped I/O in notepad.
Any suggestions for it.
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ladislav Zezula
Sent: Thursday, March 16, 2006 12:24 PM
To: Windows File Systems Devs Interest List
Subject: Re: [ntfsd] File size
Could you please elaborate a little .How can I manipulate
Directory information buffers in my minifilter.
This is kinda not easy thing. Your filter probably can get the
real file size only after opening file (my guess). If you want to
keep WinZip happy, you must ensure that the directory entry
contains exactly same size like the one reported by
GetFileInformation IRP after file open. But if you will open each
file in query directory call, your filter will significantly degrade
performance of the whole system.
There is no easy solution to this known to me.
L.
Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com