Hi,
I tried to build a device driver on Win98 to use an old style ISA card
without PnP functionality.
I used the “WDM-Driver Wizard” included in Walter Oneys book
“Programming the Microsoft Windows Driver Model” and also the 98ddk
“general WDM driver” sources to build driver.
Both driver, the wizard version and the ddk source version, should
connect to an interrupt when StartDevice ( W.Oney ) or
IRP_MN_START_DEVICE (ddk) is called.
In the INF file to the driver I added a LogConfig section which defines
the IRQ to use with IRQConfig=10.
When I define this IRQ in the BIOS as a PCI/PnP IRQ, then the call of
IoConnectInterrupt succeeds.
When its defined as ISA, the system hangs on installing the driver and
on the next boot I get
While initializing device CONFIGMG:
Windows protection error. …
It seems to me, that the WDM does not support the old style ISA cards.
If it is so, I have to write a Win95 driver and use it on Win98, but I
can’t find the 95ddk on Microsoft’s sites.
What to do, if the driver will be needed on W2k ? As I know, the WDM
model is the only driver model W2k uses.
If I’m wrong, and standard ISA cards can be used with the WDM model, I
would like to read from you what I’m doing wrong, or what have to be
done different to run this driver.
TIA
Vasili Goutas