RE: How can an application dynamically load a WDM driver - under Windows 98?

Hi Rick,

I am trying to find help on the same subject, as yet I have been
unsuccessful. If you find anything can you let me know.

One thought we had was to write a bus arbitrator and try to get it to fool
the PnP manager into loading our driver. Haven’t investigated this at all so
I have no further clues etc. to offer.

Alun Carp
Driver Development Team Leader
Data Encryption Systems Limited

-----Original Message-----
From: rick_knox@uk.ibm.com [mailto:rick_knox@uk.ibm.com]
Sent: 15 June 2001 08:39
To: NT Developers Interest List
Subject: [ntdev] How can an application dynamically load a WDM driver under
Windows 98?

I have an application which was originally written for NT4 which
dynamically loads its kernel-mode device driver using the SC Manager
technique which is well documented here.

I now have to support Windows 98 and have modified the driver by replaciing
NTDDK.H with WDM.H and the driver seems to work fine on Win 98 - providing I
put it in the registry and reboot. However, I really
need to load and start it dynamically - a reboot is unacceptable.

I’ve tried the CreateFile and VXDLDR IOCtl methods which are used
to load VxDs but neither works on a WDM driver - how should an
application load a WDM driver under Windows 98?

By the way, the driver does not handle any physical device - it is just
there to allow me to snoop on the hardware of the computer. It therefore
does not care about PnP or power management - nor is it associated with any
particular bus (so I can’t rely on a bus driver to load it).

Any help would be greatly appreciated.


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com