From: uba on
Hello,

In my USB filter driver (KMDF) I do not want to send write or read
requests to lower stack as they arrive. I want to
bundle them in a list and send them once the list is full.

I tried it but my filter driver does not get the second request. If I
send the request down the stack then i get the
next request.

Is there any way I can send a pending status to upper stack so that i
get the next request even though i do not send the first one down the
stack?

Thanks nd Regards,
kid






From: Don Burn on
You have messed up your synchronization settings. Check what
SynchronizationScope value of the WDF_OBJECT_ATTRIBUTES you are using for
the device and the queue. Note, do not put them in a list, this is
exactly the model for a manual queue.


--
Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply



"uba" <kid07.uba(a)gmail.com> wrote in message
news:a9a87b8c-dcee-441b-8d71-006155affaf9(a)w27g2000pre.googlegroups.com...
> Hello,
>
> In my USB filter driver (KMDF) I do not want to send write or read
> requests to lower stack as they arrive. I want to
> bundle them in a list and send them once the list is full.
>
> I tried it but my filter driver does not get the second request. If I
> send the request down the stack then i get the
> next request.
>
> Is there any way I can send a pending status to upper stack so that i
> get the next request even though i do not send the first one down the
> stack?
>
> Thanks nd Regards,
> kid
>
>
>
>
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 4828 (20100202) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>



__________ Information from ESET NOD32 Antivirus, version of virus signature database 4828 (20100202) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




From: Doron Holan [MSFT] on
it may not be the sync settings, it may be the type of queue he created. did
you create a sequential queue? if so, it will behave as you describe,
presenting only one request at a time. if so, you need to create a parallel
queue

--

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


"Don Burn" <burn(a)stopspam.windrvr.com> wrote in message
news:e7C9GXCpKHA.4836(a)TK2MSFTNGP05.phx.gbl...
> You have messed up your synchronization settings. Check what
> SynchronizationScope value of the WDF_OBJECT_ATTRIBUTES you are using for
> the device and the queue. Note, do not put them in a list, this is
> exactly the model for a manual queue.
>
>
> --
> Don Burn (MVP, Windows DKD)
> Windows Filesystem and Driver Consulting
> Website: http://www.windrvr.com
> Blog: http://msmvps.com/blogs/WinDrvr
> Remove StopSpam to reply
>
>
>
> "uba" <kid07.uba(a)gmail.com> wrote in message
> news:a9a87b8c-dcee-441b-8d71-006155affaf9(a)w27g2000pre.googlegroups.com...
>> Hello,
>>
>> In my USB filter driver (KMDF) I do not want to send write or read
>> requests to lower stack as they arrive. I want to
>> bundle them in a list and send them once the list is full.
>>
>> I tried it but my filter driver does not get the second request. If I
>> send the request down the stack then i get the
>> next request.
>>
>> Is there any way I can send a pending status to upper stack so that i
>> get the next request even though i do not send the first one down the
>> stack?
>>
>> Thanks nd Regards,
>> kid
>>
>>
>>
>>
>>
>>
>>
>> __________ Information from ESET NOD32 Antivirus, version of virus
>> signature database 4828 (20100202) __________
>>
>> The message was checked by ESET NOD32 Antivirus.
>>
>> http://www.eset.com
>>
>>
>>
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 4828 (20100202) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
>
From: Maxim S. Shatskih on
Can you use KMDF queues instead of handicrafted list?

"uba" <kid07.uba(a)gmail.com> wrote in message news:a9a87b8c-dcee-441b-8d71-006155affaf9(a)w27g2000pre.googlegroups.com...
> Hello,
>
> In my USB filter driver (KMDF) I do not want to send write or read
> requests to lower stack as they arrive. I want to
> bundle them in a list and send them once the list is full.
>
> I tried it but my filter driver does not get the second request. If I
> send the request down the stack then i get the
> next request.
>
> Is there any way I can send a pending status to upper stack so that i
> get the next request even though i do not send the first one down the
> stack?
>
> Thanks nd Regards,
> kid
>
>
>
>
>
>
From: Brandon Wilson [MSFT] on
The KMDF IoTarget also has an internal list it will hold requests in when it
is stopped. You could keep the IoTarget you send to in a stopped state and
then start it once you have reached your desired request threshold.

"Maxim S. Shatskih" <maxim(a)storagecraft.com.no.spam> wrote in message
news:#aJXQyEpKHA.1556(a)TK2MSFTNGP05.phx.gbl...
> Can you use KMDF queues instead of handicrafted list?
>
> "uba" <kid07.uba(a)gmail.com> wrote in message
> news:a9a87b8c-dcee-441b-8d71-006155affaf9(a)w27g2000pre.googlegroups.com...
>> Hello,
>>
>> In my USB filter driver (KMDF) I do not want to send write or read
>> requests to lower stack as they arrive. I want to
>> bundle them in a list and send them once the list is full.
>>
>> I tried it but my filter driver does not get the second request. If I
>> send the request down the stack then i get the
>> next request.
>>
>> Is there any way I can send a pending status to upper stack so that i
>> get the next request even though i do not send the first one down the
>> stack?
>>
>> Thanks nd Regards,
>> kid
>>
>>
>>
>>
>>
>>