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. METHOD_BUFFERED when using DeviceIoControl

METHOD_BUFFERED when using DeviceIoControl

Scheduled Pinned Locked Moved Hardware & Devices
question
3 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.
  • S Offline
    S Offline
    Shay Harel
    wrote on last edited by
    #1

    Hi, When using DeviceIoControl with METHOD_BUFFERED, will the buffer that windows allocate in kernel (the one that is the copy of user space), would it be taken from the non paged pool ? I was looking for more specific documentation on the subject and did not find something explicit. Thanks, Shay

    L 1 Reply Last reply
    0
    • S Shay Harel

      Hi, When using DeviceIoControl with METHOD_BUFFERED, will the buffer that windows allocate in kernel (the one that is the copy of user space), would it be taken from the non paged pool ? I was looking for more specific documentation on the subject and did not find something explicit. Thanks, Shay

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

      Hi Shay, Yes, METHOD_BUFFERED will allocate the buffer from non-paged pool in the kernel address space. You can take a look at the diagram in the article Using Buffered I/O[^] to see an overview of the buffered I/O transfer method. Best Wishes, -David Delaune

      S 1 Reply Last reply
      0
      • L Lost User

        Hi Shay, Yes, METHOD_BUFFERED will allocate the buffer from non-paged pool in the kernel address space. You can take a look at the diagram in the article Using Buffered I/O[^] to see an overview of the buffered I/O transfer method. Best Wishes, -David Delaune

        S Offline
        S Offline
        Shay Harel
        wrote on last edited by
        #3

        Thanks Dave, I ended up finding this link as well. Shay

        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