METHOD_BUFFERED when using DeviceIoControl
-
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
-
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
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
-
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
Thanks Dave, I ended up finding this link as well. Shay