Thread: HDD reading with LBA address.

  1. #1
    question.
    Guest

    HDD reading with LBA address.

    Hello.

    Is there a function that can allow us to read/write a sector
    from an HDD with LBA mode? I am using microsoft VisualC.

    example.

    void ReadSector ( unsigned long LBA_ADDRESS ) ;

    Thanks.

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    You'll can use DeviceIoControl() and CreateFile() (read down to "Physical Disks and Volumes") to do low-level disk stuff. Otherwise, you'll have to do low-level INT13h programming.

    gg

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Memory leaks problem in C -- Help please
    By Amely in forum C Programming
    Replies: 14
    Last Post: 05-21-2008, 11:16 AM
  2. import address table (IAT)
    By George2 in forum C++ Programming
    Replies: 5
    Last Post: 02-20-2008, 08:01 AM
  3. Memory Address
    By Stack Overflow in forum C Programming
    Replies: 5
    Last Post: 05-25-2004, 11:43 AM
  4. Pointer address
    By cheeves in forum C Programming
    Replies: 7
    Last Post: 10-30-2003, 08:26 PM
  5. reading hexadecimal variables
    By juhigarg in forum C++ Programming
    Replies: 7
    Last Post: 11-06-2001, 11:10 PM