Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Hardware & Devices
  4. Different SD size by IOCTL_DISK_GET_LENGTH_INFO

Different SD size by IOCTL_DISK_GET_LENGTH_INFO

Scheduled Pinned Locked Moved Hardware & Devices
question
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    yech
    wrote on last edited by
    #1

    Same SD card when used by USB card reader IOCTL_DISK_GET_LENGTH_INFO reports 979968 sectors, but when used in Texas Instruments PCI Integrated FlashMedia Controller IOCTL_DISK_GET_LENGTH_INFO reports 979776 sectors. Why they are so different?

    L 1 Reply Last reply
    0
    • Y yech

      Same SD card when used by USB card reader IOCTL_DISK_GET_LENGTH_INFO reports 979968 sectors, but when used in Texas Instruments PCI Integrated FlashMedia Controller IOCTL_DISK_GET_LENGTH_INFO reports 979776 sectors. Why they are so different?

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      yech wrote:

      Same SD card when used by USB card reader IOCTL_DISK_GET_LENGTH_INFO reports 979968 sectors

      IOCTL_DISK_GET_LENGTH_INFO[^] does not return the number of sectors it is returning the length in bytes of the object. Best Wishes, -David Delaune

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups