Hi : Problem with .doc, .xls, .ppt

Hi,

I’m developing a Windows NT 4.0 filter driver. It traps IRP_MJ_CREATE,
IRP_MJ_WRITE, IRP_SET_INFORMATION(delete and rename). The main purpose of
this filter driver is to store the original data in a temporary storage
before the I/O. For .txt files, it works fine. For .doc, .xls, *.ppt, I
don’t know how to store the original file information before it is modified
and saved.

Thanks in advance

Regards
sreeni

Hi : Problem with .doc, .xls, .pptsrini,
you have to trap systemwide IRP_SET_INFORMATION for FileRenameInformation and watch out for the DESTINATION filename as well. These files get caught through that path. It looks like you take care of SOURCE filename only which the FILEOBJECT for this IRP represents

regds
alex
----- Original Message -----
From: Sreenivas _cv
To: File Systems Developers
Sent: Monday, May 22, 2000 5:55 AM
Subject: [ntfsd] Hi : Problem with .doc, .xls, .ppt

Hi,

I’m developing a Windows NT 4.0 filter driver. It traps IRP_MJ_CREATE, IRP_MJ_WRITE, IRP_SET_INFORMATION(delete and rename). The main purpose of this filter driver is to store the original data in a temporary storage before the I/O. For .txt files, it works fine. For .doc, .xls, *.ppt, I don’t know how to store the original file information before it is modified and saved.

Thanks in advance

Regards
sreeni