User Mode Address for AVStream I/O Buffers

Is there any way, in which can get the user mode addresses for the
input/output buffers allocated by KS class?

Abhishek Joshi wrote:

Is there any way, in which can get the user mode addresses for the
input/output buffers allocated by KS class?

I don’t believe you can assume that there are ANY user mode addresses
for these buffers. The buffers might have been allocated by a kernel
allocator, not a user-mode allocator. It’s quite possible for KS
drivers to communicate with each other directly.

Why do you want to know? You can use a ksproxy plugin if you need to
participate in the user-mode part of the graph. That’s what they’re for.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

But all the upstream/downstream filters are in user mode. So, I believe
there must be some user level address associated with the allocated
buffers.

Thanks & Regards
Abhishek Joshi
Quartics Inc.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
Sent: Wednesday, February 27, 2008 9:38 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] User Mode Address for AVStream I/O Buffers

Abhishek Joshi wrote:

Is there any way, in which can get the user mode addresses for the
input/output buffers allocated by KS class?

I don’t believe you can assume that there are ANY user mode addresses
for these buffers. The buffers might have been allocated by a kernel
allocator, not a user-mode allocator. It’s quite possible for KS
drivers to communicate with each other directly.

Why do you want to know? You can use a ksproxy plugin if you need to
participate in the user-mode part of the graph. That’s what they’re
for.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Abhishek Joshi wrote:

But all the upstream/downstream filters are in user mode. So, I believe
there must be some user level address associated with the allocated
buffers.

Maybe. Maybe not. Again, why do you want to know? What would you do
with that information?


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.