Doubts on CreateService() for Drivers

Hi all,
I have some basic doubts
on installing device driver using CreateService().
(If this is not the right mailing list to ask this,
then kindly re-direct me to the correct
mailing-list).

I am a starter in Windows driver programming. So,
please
excuse if my basic assumption is wrong.

I am developing a device driver program on Windows
2000.
In the driver program, I want to start
either Service X or Service Y depending upon some
dynamic variable. (I Will be calling CreateService( ,
, PathTo-X.sys, ) or CreateService (, , pathTo-Y.sys,
)).

The problem is, the upper layer bindings -
(which we normally
provide using the INF file as
HKR, Ndi\Interface, UpperRange, 0, ndisatm) - for
Service X and Service Y are different. For example,
for Service X, the UpperRange is
ndisatm and for Service Y it is ndis5.

Firstly, I want to know whether my
fundamentals/assumptions are correct
in the above scenario.

Secondly, is there any way I can bind the UpperRange
value
for a given service from the driver program.?

Thanks in Advance.

regards,
arun


Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/