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. Low level operations to devices

Low level operations to devices

Scheduled Pinned Locked Moved C / C++ / MFC
csharpc++dotnetjsonquestion
7 Posts 3 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.
  • F Offline
    F Offline
    fvalerin
    wrote on last edited by
    #1

    I wanna know ways to make low-level operations to devices (mainly the hard disk) in .Net Framework by using C++ dll's or something ????? By ways I mean maybe a class or a Windows standard API library (doesnt matter if its not managed code) Specific things I want to know are (mostly consultations) : - the beginning/ending number of cluster and track of files, - the beginning/ending number of cluster and track of folders - the size in clusters of files - the volume serial number - the size in clusters and tracks of a hard disk, etc - can I do "interrupts" ??? Let me know the class or the Api library and the documentation, if there is it. thanks in advance, fvalerin

    D 1 Reply Last reply
    0
    • F fvalerin

      I wanna know ways to make low-level operations to devices (mainly the hard disk) in .Net Framework by using C++ dll's or something ????? By ways I mean maybe a class or a Windows standard API library (doesnt matter if its not managed code) Specific things I want to know are (mostly consultations) : - the beginning/ending number of cluster and track of files, - the beginning/ending number of cluster and track of folders - the size in clusters of files - the volume serial number - the size in clusters and tracks of a hard disk, etc - can I do "interrupts" ??? Let me know the class or the Api library and the documentation, if there is it. thanks in advance, fvalerin

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

      It sounds like a device driver is in your future.


      "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

      "There is no death, only a change of worlds." - Native American Proverb

      F 1 Reply Last reply
      0
      • D David Crow

        It sounds like a device driver is in your future.


        "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

        "There is no death, only a change of worlds." - Native American Proverb

        F Offline
        F Offline
        fvalerin
        wrote on last edited by
        #3

        Well, no, I dont want to complicate my existence. I just want to read those kind of values thanks, fvalerin

        D 1 Reply Last reply
        0
        • F fvalerin

          Well, no, I dont want to complicate my existence. I just want to read those kind of values thanks, fvalerin

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

          I know of no way to circumvent the HAL in order to get access to such low-level information. For the fourth bullet, use GetVolumeInformation().


          "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

          "There is no death, only a change of worlds." - Native American Proverb

          M 1 Reply Last reply
          0
          • D David Crow

            I know of no way to circumvent the HAL in order to get access to such low-level information. For the fourth bullet, use GetVolumeInformation().


            "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

            "There is no death, only a change of worlds." - Native American Proverb

            M Offline
            M Offline
            Marcello
            wrote on last edited by
            #5

            I just saw this article: Hooking the kernel directly http://www.codeproject.com/useritems/soviet\_direct\_hooking.asp maybe he can help you ! Marcello

            D 1 Reply Last reply
            0
            • M Marcello

              I just saw this article: Hooking the kernel directly http://www.codeproject.com/useritems/soviet\_direct\_hooking.asp maybe he can help you ! Marcello

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

              Marcello wrote:

              maybe he can help you !

              I'm not the one needing help, fvalerin was.


              "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

              "There is no death, only a change of worlds." - Native American Proverb

              M 1 Reply Last reply
              0
              • D David Crow

                Marcello wrote:

                maybe he can help you !

                I'm not the one needing help, fvalerin was.


                "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

                "There is no death, only a change of worlds." - Native American Proverb

                M Offline
                M Offline
                Marcello
                wrote on last edited by
                #7

                :) Yes, I meant fvalerin

                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