Question for layered driver in win 98
Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance
Date: Fri, 20 Feb 2004 15:43:06 +0800
Dear All,
I develop a layered driver in windows 2000. It use IoGetDeviceObjectPointer
£¨£©to get the deviceObject of lower device. And use
IoBuildDeviceIoControlRequest£¨£©to build my own IRP_MJ_DEVICE_CONTROL. And
use IoCallDriver() to send the IRP to the lower device. It works well in win
2000.
But when I install it in win98. I find that the IoCallDriver will return
STATUS_INVALID_PARAMETER and the lower driver don't recieve the IRP build by
higher driver. I am puzzled by this. And could any body show me some light
on that.
Best Regards!
Jing Feng
Relevant Pages
- Re: Irp->IoStatus.Status vs return value?
... > example if the next lower device (and as a result IoCallDriver?) returns ... Shouldn't bugcheck. ... PIRP Irp) ... (microsoft.public.development.device.drivers) - Re: Writing driver for blocking IO ports
... In fact, Don, apparently, meant disabling a driver without terminating ... do is to capture calls and forward them directly to the lower device, ... so that filter driver just does not have a slightest chance to see ... (microsoft.public.development.device.drivers) - Re: Question about build in 98DDK.
... I have build my driver in DDK 2k and install it in win98 SE. ... use IoCallDriverto send the IRP to the lower device. ... (microsoft.public.development.device.drivers) - Re: Bugcheck code D5 in USB driver - very peculiar!
... Your suggestion about not touching the IRP led me back to the bulk USB ... which I was told my driver is based on. ... IoCallDriver, unless you made some special precautions to stop IO completion ... completion routine, and then call IoCallDriver. ... (microsoft.public.development.device.drivers) - Same IRP appearing more than once?
... I am writing an upper filter driver for a serial port. ... DispatchControl function because of an incorrect IRQ level. ... IoCallDriver() has not immediately returned and that DispatchControl ... has been called three times for the same Irp. ... (microsoft.public.development.device.drivers) |
|