file size

HI,

If i have not handled IRP_MJ_SET_INFORMATION but just want to intercept
IRP_MJ_QUERY_INFORMATION and change file size then can i do that and is it
legal to do that.

what i mean is that i have a footer in the file which i want to remove
during file read? I dont want to zero it out just want the app to see file
size as Original File size minus the footer.

Any help is appreciated.

Thanks
Suhail


MSN 9 Dial-up Internet Access helps fight spam and pop-ups – now 2 months
FREE! http://join.msn.click-url.com/go/onm00200361ave/direct/01/