Re: Completion routine isn't called when reading from a interrupt pipe
From: Randy Aull \(MSFT\) (randyau_at_microsoft.com)
Date: Fri, 22 Oct 2004 09:43:39 -0700
It doesn't sound like installation would be the problem since you are seeing
the URB get cancelled.
Why does your device require you to write a driver if it is a HID USB
device? Windows already supports USB HID devices.
-- This posting is provided "AS IS" with no warranties, and confers no rights. "Edgard Lima" <email@example.com> wrote in message news:%23bFuEUFuEHA.firstname.lastname@example.org... > > Hi Walter, > > I'm using a driver almost like the int42 sample from your book (2snd > edition). > And every thing seems to be right. > But, Would it (this unexpected behaviour) be possible because the way I'm > istalling the driver? > My device is a touch-screen HID USB device. And I haven't certified it yet > (WQHL) so I've to do some tricks in the Device Manager to put my driver > working instead of the default windows hid driver. > What do you think? > > Thanks again, > Edgard > > > > "Walter Oney" <email@example.com> wrote in message > news:41792711.5334E2FE@oneysoft.com... >> Edgard Lima wrote: >>> I'm trying to get my function "OnInterrupt" called when I touch the >>> device, >>> but my functions isn't called. My "OnInterrupt" function is only called >>> when >>> I remove the device, because the irp is cancelled. >> >> It looks like you're doing everything right, and you would not be seeing >> the IRP cancellation if you weren't. Is it possible that the device is >> not actually responding to IN transactions when you think it should be? >> >> -- >> Walter Oney, Consulting and Training >> Basic and Advanced Driver Programming Seminars >> Check out our schedule at http://www.oneysoft.com > >