ERROR C0000120

Hi

I have built a bulk usb driver based on BulkUsb. I am developing it
for a bulkcommunication with my device whic is using equipment from philips.

In my driver when ReadWriteCompletion routines call driver flows
stops. basically it got cancelled status and a error code C0000120.

well is it the problem of my driver or may be something from
device side. I hav Implemented that driver for 512 bytes syze. whether it is
some whare buffer related problem or some thing else…

please tell me what should be the solutions

Thanks
Niraj Jha

Niraj Jha wrote:

I have built a bulk usb driver based on BulkUsb. I am developing
it for a bulkcommunication with my device whic is using equipment from
philips.

In my driver when ReadWriteCompletion routines call driver
flows stops. basically it got cancelled status and a error code C0000120.

well is it the problem of my driver or may be something
from device side. I hav Implemented that driver for 512 bytes syze.
whether it is some whare buffer related problem or some thing else…

There is not enough information here. Are YOU cancelling the request?
Is the application cancelling the request? Does it work for a while and
then stop, or does it fail from the start?


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

Hi sir

I have not define any canceling routine yet. But the problem is my driver
does not get any response form lower level driver.

it stops when readwrite routines call completion routines with defined
urb buffer .in my driver when readwrite complition call, the passed status
is traped by NT_ERROR.I don`t know why this is happening.

my hardware team saying that the hardware is perfect.

I am unable to trap the exact bugs.

bye

Niraj Jha

On 5/26/06, Tim Roberts wrote:
>
> Niraj Jha wrote:
>
> >
> > I have built a bulk usb driver based on BulkUsb. I am developing
> > it for a bulkcommunication with my device whic is using equipment from
> > philips.
> >
> > In my driver when ReadWriteCompletion routines call driver
> > flows stops. basically it got cancelled status and a error code
> C0000120.
> >
> > well is it the problem of my driver or may be something
> > from device side. I hav Implemented that driver for 512 bytes syze.
> > whether it is some whare buffer related problem or some thing else…
>
>
> There is not enough information here. Are YOU cancelling the request?
> Is the application cancelling the request? Does it work for a while and
> then stop, or does it fail from the start?
>
> –
> Tim Roberts, xxxxx@probo.com
> Providenza & Boekelheide, Inc.
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>

Niraj Jha wrote:

my hardware team saying that the hardware is perfect.

They always do.


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