Link to home
Start Free TrialLog in
Avatar of Vjekoslav
Vjekoslav

asked on

disk I/O in NT

How do I read and write to the boot sector of a floppy or hard disk in NT using Visual C++.  I've been reading docs on the internet and I think I need to use the CreateFile and DeviceIoControl functions, but all the examples on the internet only explain how to read and write to a file on the disk.  I would like to read and write to the boot sector of these disks.

Thanks in advance,
MVF
ASKER CERTIFIED SOLUTION
Avatar of chensu
chensu
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial