[Webinar] Streamline your web hosting managementRegister Today

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 189
  • Last Modified:

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,
1 Solution

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now