my code as follow:
Tfsread()
{
if(!(Irp->Flag &(IRP_NOCACHE | IRP_PAGING_IO | IRP_SYSCHRONOUS_PAGING_IO)))
{
IoSkipCurrentIrpStackLocation(Irp);
return IoCallDriver()
}
if(MyFile)
{
Offset.HighPart = 0;
Offset.LowPart = 4096;
IrpSp->Parameters.Read.ByteOffset = RtlLargeIntegerAdd(IrpSp->Parameters.Read.ByteOffset, Offset)
}
}
-----ԭʼ?ʼ?-----
???: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com]??? xxxxx@viatech.com.cn
???ʱ??: 2006??12??12?? 13:22
?ռ???: Windows File Systems Devs Interest List
???: [ntfsd] Please help!Modify fileoffset
Hello everybody
I am writing a file system filter driver on encryption / decryption. and I add some information in encrypted file header, When I read file, I want to skip
4096 bytes in IRP_MJ_READ, but I find some null characters be fill. It is why to this case.
Thanks
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