ndis buffer allocation

Hi All.

I’m developing NDIS IM driver. I delay some packets in queue returning
NDIS_STATUS_PENDING. Later I want to process delayed packet. But when I call
NdsiAllocateBuffer it fails. What could be the reason? Is it because of
different calling context or somth?

Thanx for help in advance.

Please give us the status code that was returned from NdisAllocateBuffer and
we can perhaps help.

Thomas F. Divine, Windows DDK MVP
http://www.pcausa.com

“Dmitriy Gubarkov” wrote in message news:xxxxx@ntdev…
> Hi All.
>
> I’m developing NDIS IM driver. I delay some packets in queue returning
> NDIS_STATUS_PENDING. Later I want to process delayed packet. But when I
> call NdsiAllocateBuffer it fails. What could be the reason? Is it because
> of different calling context or somth?
>
> Thanx for help in advance.
>
>
>
>

Thanx Tomas, but I found where the problem. My fault. Invalid pool handle.

“Thomas F. Divine” ???/??? ? ???
???: news:xxxxx@ntdev…
> Please give us the status code that was returned from NdisAllocateBuffer
> and we can perhaps help.
>
> Thomas F. Divine, Windows DDK MVP
> http://www.pcausa.com
>
> “Dmitriy Gubarkov” wrote in message news:xxxxx@ntdev…
>> Hi All.
>>
>> I’m developing NDIS IM driver. I delay some packets in queue returning
>> NDIS_STATUS_PENDING. Later I want to process delayed packet. But when I
>> call NdsiAllocateBuffer it fails. What could be the reason? Is it because
>> of different calling context or somth?
>>
>> Thanx for help in advance.
>>
>>
>>
>>
>
>