Hi, all!
I’m writing filter driver for 9x now. I need info about IFSFN_SEEK, and
other IFSFN_xxx, which could truncate file.
Questions are:
IFSFN_SEEK request has pointer to IOREQ structure with
ir_flags==FILE_BEGIN or FILE_END and signed integer ir_pos parameters.
- I suppose that file size grows if request with ir_flags==FILE_BEGIN
contains new offset larger than current file size. Is it correct? Or file
will grow only in case of following IFSFN_WRITE request (but from which
position this request occurs in this case?) ? - I didn’t find in the MSDN, what’s will be if IOREQ parameters
ir_flags==FILE_END and ir_pos parameter is negative, will file size grow in
this case? (yes, it’s same case as above, but I want to know this exactly.
I’m not sure even in this now:(( )
Is there another way (IFSFN_xxx request) to extend/truncate file exclude
above 2 cases and IFSFN_WRITE with zero ir_length field?
All above questions are concerns problem of aligning data on fixed block
size in my filter vxd, if it helps.
Regards,
Valery A. Boronin,
System Software Engineer, Novosoft
Web: http://www.novosoft-us.com
Email: xxxxx@novosoft.ru
You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com