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