Reading a raw drive?

How would you read a cd or dvd as a raw block device in Windows XP? I'm looking to get the same result as when I open '/dev/hdc' (or whatever the drive is) in Linux. I'm trying to port a program to Windows and am not sure how to do this one step. Thanks.

Comments

  • [green]Try CreateFile() to open the disk and then use ReadFile()[/green]
    [hr][red]~Bikram[/red]

  • You should use CreateFile with \.x: as file name (where x is the drive letter).

    nICO

    [hr]
    [italic]How beautiful, if sorrow had not made Sorrow more beautiful than Beauty itself.[/italic]
    JOHN KEATS


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion