Re: 1394 isochronous troubles

Tech-Archive recommends: Speed Up your PC by fixing your registry



r_konjeti@xxxxxxxxxxxx wrote:

1) I think by windows driver design(not just 1394) the device object
is NULL in completion routine. Use your context properly to pass
device object information.

2) I also think your DetachCompletionRoutine should not do
AttachBuffer.

Thanks for your comments!

I finaly found a solution for my problem.
Since I am fairly new to driver writing all sugestions are welcome so I
did as you suggested; I don't use the device object in the completion
routine, I just call IoFreeIrp, ExFreePool(irb) and return
STATUS_MORE_PROCESSING_REQUIRED.
Then, I put the AttachBuffer in the callback function after the
DetachBuffer.

As mentioned before, this works fine for me.

Regards, Jeroen
.



Relevant Pages

  • Re: 1394 isochronous troubles
    ... > 1) I think by windows driver designthe device object ... > is NULL in completion routine. ... I put the AttachBuffer in the callback function after the ...
    (microsoft.public.development.device.drivers)
  • Re: 1394 isochronous troubles
    ... I think by windows driver designthe device object is ... NULL in completion routine. ... object information. ...
    (microsoft.public.development.device.drivers)
  • Re: 1394 isochronous troubles
    ... I think by windows driver designthe device object is ... NULL in completion routine. ... object information. ...
    (microsoft.public.development.device.drivers)