dynamic load driver (nt)

I have such problem : my user mode application must dynamicaly load
kernel mode driver in windows nt 4.0. How i can do it? Anybody have an idea ? Maybe CreateFile?
Thanks for everyone


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

A driver is treated the same as a service. So you can use OpenSCManager,
CreateService, OpenService, ControlService and other functions. Look into
MSDN under “Services Overview”.
There are some differences between services and drivers, but most service
functions
can handle kernel drivers.

Also look into the InstDrv sample source code for hints. You can even use
these calls to
install the driver without having to reboot. These calls will even write
into the registry for you.

George Blat

At 11:05 PM 2/3/01 +0300, you wrote:

I have such problem : my user mode application must dynamicaly load
kernel mode driver in windows nt 4.0. How i can do it? Anybody have an
idea ? Maybe CreateFile?
Thanks for everyone


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


George Blat
BRD Corp
8016 188th SW, Edmonds, WA 98026

phone: 425-775-7475
fax: 781-998-5940
mailto:xxxxx@brd.com
http://www.brd.com


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