Re: RE: RE: RE:*** Vista RTM *** Writing to raw disk sectors (Unsigned Mail)

> I’m not a big fan of this “no raw write”, I think the pagefile encryption

approach would have been better. But I guess time was running short…

You cannot write to PhysicalDrive%d device object to areas covered by mounted
(or maybe just defined?) partitions. Neither by WriteFile nor by SPTI.

But you can write to, say, \.\d: - to a partition, provided you called
CreateFile properly and have enough user rights. This is how FORMAT, CHKDSK /F,
and image backup restore works.


Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com