FltSetInformationFile with FileEndOfFileInformation on Windows 7 network folder

Hi,

I’m writing a minifilter that run on Windows 7 and XP.
In the PreCleanup I call FltSetInformationFile with FileEndOfFileInformation to set a new EOF. According to the return value the function succeeded but when I later look at the EOF of the file I see that the old EOF is not changed.
This issue happen only on Windows 7 when the file is on network folder.
This work great on XP local+network and on Windows 7 on local folder.

Thanks,
Sagi

Hi,

I used an alternate method to set the EOF and now it is working well also for windows 7 network.
I used what was suggested in the following thread: http://www.osronline.com/showThread.CFM?link=180720 and it worked for me as well (even that we didn’t have the same problems).

Regards,
Sagi