Jump to content

Reding/Wrting hard disk


Recommended Posts

Hi All,

I am developing an application to test the hard disk. the idea is to write the some data on all over disk. I need to develop the application in vc++. The one approach is open handles to physical hard disk drives by calling CreateFile() & then using readfile() & writefile(). & other is to use ioctl call & in driver use the function FS_DirectDiskIO. Can anybody tell me which one is better or is there any another better way of doing this?

Thanks!

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...