Completion routine not called!

Discussion in 'Windows Vista Drivers' started by chiranjeevi, Aug 9, 2006.

  1. chiranjeevi

    chiranjeevi Guest

    Hi All,

    We are writing a NDIS - WDM Driver for one of our Usb-Ethernet devices. In
    some cases we do Cancellation of all IRPs pending with the USBD. After Doing
    a IoCancelIrp, sometimes the Completion routine is not getting called on
    BulkOut Endpoint. The Completion Routine is Set to be called on all
    conditions (Success, Cancellation & Error).

    Can you help us in debugging/knowing more about this Issue ?

    Regards,
    Chiranjeevi.
     
    chiranjeevi, Aug 9, 2006
    #1
    1. Advertisements

  2. are you 100% sure? did the irp actually complete? !irp <PIRP address> 0xf
    will show you the current stack location which can indicate where the PIRP
    is.

    d
     
    Doron Holan [MS], Aug 10, 2006
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.