how to check if a driver beem installed

Hi, I have NT4.0 system, and I want to programmatically to check if my
driver for a adapter card been installed in the system. How do I do that?
Do I have to use CreateFile() function to see if I can open it? Is there
other way to check it? Since my program has to check all the adapter cards
(over 10 different network vendor cards), if any of these cards is plugged
into my NT4.0 system, I first checked if the driver for that card
installed, if not, I installed it programmatically. Any idea?

Thanks.
Prune.


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

Use the Service control manager API. Look for OpenSCManager in the online
docs.

Gary

-----Original Message-----
From: xxxxx@yahoo.com [mailto:xxxxx@yahoo.com]
Sent: Thursday, April 19, 2001 6:01 PM
To: NT Developers Interest List
Subject: [ntdev] how to check if a driver beem
installed

Hi, I have NT4.0 system, and I want to programmatically to
check if my
driver for a adapter card been installed in the system. How
do I do that?
Do I have to use CreateFile() function to see if I can open
it? Is there
other way to check it? Since my program has to check all the
adapter cards
(over 10 different network vendor cards), if any of these
cards is plugged
into my NT4.0 system, I first checked if the driver for that
card
installed, if not, I installed it programmatically. Any
idea?

Thanks.
Prune.


You are currently subscribed to ntdev as:
xxxxx@delphieng.com
To unsubscribe send a blank email to
leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.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