IRP_MJ_SET_INFORMATION get FILE_VALID_DATA_LENGTH_INFORMATION

Hello All,

i would like to know if anybody knows how can i get FILE_VALID_DATA_LENGTH_INFORMATION in IRP_MJ_SET_INFORMATION irp.

In post operation i can get the new file valid data length but i would like to also get old file valid data length. FltQueryInformationFile seems that does not work with FILE_VALID_DATA_LENGTH_INFORMATION structure. Any suggestion?

Best Regards, Mitja

If you are working in a filter environment, try
_FSRTL_COMMON_FCB_HEADER.ValidDataLength of the FILE_OBJECT.FsContext.

Lijun

xxxxx@hermes-softlab.com wrote:
Hello All,

i would like to know if anybody knows how can i get FILE_VALID_DATA_LENGTH_INFORMATION in IRP_MJ_SET_INFORMATION irp.

In post operation i can get the new file valid data length but i would like to also get old file valid data length. FltQueryInformationFile seems that does not work with FILE_VALID_DATA_LENGTH_INFORMATION structure. Any suggestion?

Best Regards, Mitja


NTFSD is sponsored by OSR

For our schedule debugging and file system seminars
(including our new fs mini-filter seminar) visit:
http://www.osr.com/seminars

You are currently subscribed to ntfsd as: xxxxx@yahoo.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.