IRP_MJ_SET_INFORMATION sees funny stuff?

In XP SP 2,
When the explorer is copying files to a CD-Rom R/W driver.
I get a irp in my FS driver , IRP_MJ_SET_INFORMATION, that is quite puzzling.

Here’s a very short snippet of my code:

if(FileDispositionInformation == IrpSp->Parameters.SetFile.FileInformationClass )
{pDispose = Irp->AssociatedIrp.SystemBuffer ;
DEBUG_PRINT2(“FASetInfo! %wZ, Delete %d\n”,&name, pDispose->DeleteFile);

And here’s a typical output:

FASetInfo! \Device\HarddiskVolume2\Testdir\testfile.xyz, Delete 1

WHY IS THIS HAPPENING?
CLEARLY THE EXPLORER HAS NO INTENTION OF DELETING THIS FILE? and when the dust settles, it of course does not delete the file.
BUT, WHY AM I GETTING THIS MESSAGE???

I hope someone can shed some light…

Thanks

How else to test and determine if the deletion will really succeed?
Open the file, mark it for delete, unmark it and rename it, then close
it.

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@sbcglobal.net
Sent: Tuesday, 15 August 2006 2:09 AM
To: ntfsd redirect
Subject: [ntfsd] IRP_MJ_SET_INFORMATION sees funny stuff?

In XP SP 2,
When the explorer is copying files to a CD-Rom R/W driver.
I get a irp in my FS driver , IRP_MJ_SET_INFORMATION, that is quite
puzzling.

Here’s a very short snippet of my code:

if(FileDispositionInformation ==
IrpSp->Parameters.SetFile.FileInformationClass )
{pDispose = Irp->AssociatedIrp.SystemBuffer ;
DEBUG_PRINT2(“FASetInfo! %wZ, Delete %d\n”,&name,
pDispose->DeleteFile);

And here’s a typical output:

FASetInfo! \Device\HarddiskVolume2\Testdir\testfile.xyz, Delete 1

WHY IS THIS HAPPENING?
CLEARLY THE EXPLORER HAS NO INTENTION OF DELETING THIS FILE? and when
the dust settles, it of course does not delete the file.
BUT, WHY AM I GETTING THIS MESSAGE???

I hope someone can shed some light…

Thanks


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

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