Absolutely not it will not work.
Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website:
http://www.windrvr.com
Blog:
http://msmvps.com/blogs/WinDrvr
"matt_sykes" <> wrote in message
news:639bfa76-3615-40ad-a270-:
> On 20 Sep, 17:34, "Don Burn" <b...@windrvr.com> wrote:
> > You can't hardcode an interrupt in a driver for XP and later OS'es it
> > does not work. *You will have to use a PnP style driver and have the
> > LogConfig section define the interrupt. *Note: it is easy to have a
> > conflict at which point your driver loses.
> >
> > Whether you can get this to work at all is another question. *I played
> > with this years ago, and abandoned the effort since I controlled the
> > ACPI BIOS so could achieve the results in another fashion.
> >
> > Don Burn (MVP, Windows DKD)
> > Windows Filesystem and Driver Consulting
> > Website:http://www.windrvr.com
> > Blog:http://msmvps.com/blogs/WinDrvr
> >
> > "dsrking" <dsrking2...@gmail.com> wrote in message
> >
> > news:52886119-d633-4358-b59a-:
> >
> > > hi matt_sykes,
> >
> > > I installed WinDDK 6000 and got WDM based PORTIO sample. There is no
> > > code for interrupt registration. Is it possible to write a code for
> > > non PNP (ISA) get Resources function like below??? (Note: I mentioned
> > > the interrupt number in .inf file IRQConfig portion)
> >
> > > ------------------------------------------------------------------------------------------------------------------------------
> > > * * * * * *case CmResourceTypeInterrupt:
> > > * * * * * * * * * *dx->GotInterrupt = true;
> > > * * * * * * * * * *dx->Irql = (KIRQL)resource->u.Interrupt.Level;
> > > * * * * * * * * * *dx->Vector = resource->u.Interrupt.Vector;
> > > * * * * * * * * * *dx->Affinity = resource->u.Interrupt.Affinity;
> > > * * * * * * * * * *dx->Mode = (resource->Flags == CM_RESOURCE_INTERRUPT_LATCHED)
> > > * * * * * * * * * * * * * *? Latched : LevelSensitive;
> > > * * * * * * * * * *KdPrint(("RetrieveResources: Interrupt vector %x IRQL %d Affinity
> > > %d Mode %d",
> > > * * * * * * * * * * * * * *dx->Vector, dx->Irql, dx->Affinity, dx->Mode));
> > > * * * * * * * * * *break;
> >
> > > ------------------------------------------------------------------------------------------------------------------------------
> >
> > > * there is no function like "IoRegisterInterruptVector()" what u
> > > mentioned in your previous post.
> > > * For WDM, how can we give interrupt number to driver like hard coded
> > > or my above method is right (interrupt number in .inf and get the
> > > interrupt resource in driver code)?
> >
> > > Thanks in Advance.
> >
> > > Regards,
> > > D.
>
> Hmm. So you are saying an NT 4 driver for an ISA card wouldnt work on
> XP?