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. C / C++ / MFC
  4. IOCTL

IOCTL

Scheduled Pinned Locked Moved C / C++ / MFC
c++helptutorialquestion
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.
  • D Offline
    D Offline
    Dev578
    wrote on last edited by
    #1

    Awile ago, I had asked how to read the binary off of a CD. Alexander said that I would have to use an "IOCTL" (Thanks for your reply Alexander). Sorry, I am still quite new to MFC... What exactly is an IOCTL? Alexander said that the IOCTL to use is IOCTL_CDROM_RAW_READ. I think I have it defined in a header file called ntddcdrm.h. IOCTL_CDROM_RAW_READ is not a function, so I am assuming I need to use it in a function or something? If anyone could help me out, that would be great. Any help is apprectiated. -Dev578

    D 1 Reply Last reply
    0
    • D Dev578

      Awile ago, I had asked how to read the binary off of a CD. Alexander said that I would have to use an "IOCTL" (Thanks for your reply Alexander). Sorry, I am still quite new to MFC... What exactly is an IOCTL? Alexander said that the IOCTL to use is IOCTL_CDROM_RAW_READ. I think I have it defined in a header file called ntddcdrm.h. IOCTL_CDROM_RAW_READ is not a function, so I am assuming I need to use it in a function or something? If anyone could help me out, that would be great. Any help is apprectiated. -Dev578

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Search this forum for a post by longdafeng on 16-Feb. He includes a code snippet on how IOCTL_CDROM_RAW_READ is used with DeviceIoControl().


      "The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)

      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