Hello, evryone :
I want to set a partition of a disk read-only , which is not system
disk . For example , in my computer, I have a disk and a system : windows XP
SP2. In the disk , I have fore logical disks : C: , D:, E: and F: , and C:
is my system partition . Now , I want to set D: read-only .
In Windows DDK samples, I get a storige filter driver : diskperf . Who
had used the diskperf ?
In diskperf.c , I find DiskPerfReadWrite()/ IRP_MJ_WRITE . I debug the
deviceExtension->PhysicalDeviceNameBuffer .
But whether I write to D: or E: , C: , F: . I get a same redult :
Device\Harddisk0\Partition0 .!!!
What is the matter ?
What is the Harddisk0 ?
What is the Partition0 ?
How can I set a partition read-only by diskperf ?
Please help me .