From: Guilherme Moro on
Hello all,

Following the documentation I found that I can't put on a WDFQUEUE a
self created request (WdfRequestCreate), is this correct ?

I'm implementing a mechanism to split my Read requests in several
smaller ones before serve them, is there any new (or elegant) way of
doing this in WDF, any sample?

Thanks

Guilherme Moro
From: Doron Holan [MSFT] on
that is correct. what do you think the WDFQUEUE is going to buy you in this
case? typicaly when you split a request into subrequests, you are sending
the request to a WDFIOTARGET, not putting them back in to your own queue

d

--

This posting is provided "AS IS" with no warranties, and confers no rights.


"Guilherme Moro" <guilherme.moro(a)gmail.com> wrote in message
news:34cad56c-6a3c-4a0e-9800-92e48a5958e0(a)i37g2000yqn.googlegroups.com...
> Hello all,
>
> Following the documentation I found that I can't put on a WDFQUEUE a
> self created request (WdfRequestCreate), is this correct ?
>
> I'm implementing a mechanism to split my Read requests in several
> smaller ones before serve them, is there any new (or elegant) way of
> doing this in WDF, any sample?
>
> Thanks
>
> Guilherme Moro

From: Guilherme Moro on
Yes, but I need lists to hold the requests until they are completed in
another driver, just thinking of using WDFQUEUE to make a cleaner
code, but I misunderstand the function of this object, its not
intended to be used to inter driver communication.
Its ok to use normal lists too, so I have made with normal lists.

many thanks

Guilherme Moro

On Apr 7, 3:21 pm, "Doron Holan [MSFT]"
<doron.ho...(a)online.microsoft.com> wrote:
> that is correct.  what do you think the WDFQUEUE is going to buy you in this
> case?  typicaly when you split a request into subrequests, you are sending
> the request to a WDFIOTARGET, not putting them back in to your own queue
>
> d
>
> --
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> "Guilherme Moro" <guilherme.m...(a)gmail.com> wrote in message
>
> news:34cad56c-6a3c-4a0e-9800-92e48a5958e0(a)i37g2000yqn.googlegroups.com...
>
> > Hello all,
>
> > Following the documentation I found that I can't put on a WDFQUEUE a
> > self created request (WdfRequestCreate), is this correct ?
>
> > I'm implementing a mechanism to split my Read requests in several
> > smaller ones before serve them, is there any new (or elegant) way of
> > doing this in WDF, any sample?
>
> > Thanks
>
> > Guilherme Moro