1

Does anyone have any example code that shows how to identify the system boot harddisk, and read/write the mbr from the harddisk in windows xp and vista?

I know createfile can be used. But I do not know how to properly identify which device is the boot device.

Like how do you find out which ones you are meant to use? \.\Volume{GUID}\ or \?\Device\HarddiskVolumeX etc?

4

1 回答 1

0

您可以尝试查看 windows http://www.chrysocome.net/rawwrite的 rawwrite 源

于 2009-08-04T20:08:03.047 回答