From: Eugene Mayevski on
> Open \\.\PhysicalDrive%d and write to offset 0. Then call
> IOCTL_DISK_UPDATE_PROPERTIES for Disk/PartMgr drivers to re-read the
> updated MBR.
> Or use IOCTL_DISK_SET_DRIVE_LAYOUT(_EX), which will send the command to
> Disk/PartMgr in the kernel and it, in turn, will do the job.

It is important to notice, that Vista and XP have certain limitations on
letting one write to the disk outside of the files. To bypass these
limitations we offer RawDisk product (http://www.eldos.com/rawdisk/)

--
With best regards,
Eugene Mayevski
http://www.eldos.com/ - security and virtual storage components

First  |  Prev  | 
Pages: 1 2
Prev: NDIS 6.0 - Filter driver
Next: USB device