Hi ,
I am writing a Driver for a controller less modem on Win 2K. I am using a
Win 95/98 “.VxD” which does a similar job, for my reference. However, I do
not know how the driver was installed on Win 95/98.
My design is :
- I want to create a WDM Driver which has all the functionality of a
“Controllerless Modem driver”. In fact, I am unsure of how WDM will help me
but I have NuMega DriverWorks Wizard which will give me a skeleton WDM
Function Driver. Hence I am using the same driver to lessen my load of
coding. - I intend to install such a driver as a “Driver for a Dummy Modem,
attached to a Dummy COM Port, example : COMx”. - When a user selects this Dummy Modem as THE modem to be used with
Microsoft Dialup Networking ,(selection done typically in a drop-down list)
and launches the DUN Connection , the modem starts polling all the actual
COM Ports, to detect which one has a real modem and when it finds it,
directs all its data to the Port. - The Driver exposes an interface same as Serial.sys so that any
application can treat it as a port driver and write/read to/from this port. - The Device Object attached to this Driver is a “place holder” in the
sense I do not direct any operation to it. - I modified the Wizard-generated INF file to suit a modem’s INF file,
i.e., added Class GUID of modems, added another entry “Port Driver” with my
driver’s name as the driver.
The problem I am facing is :
- The Installation happens properly, my driver is copied into
“system32/drivers” directory, in the “properties” of such a dummy modem, my
driver name does appear, but “modem.sys” also appears. Means, the OS is not
treating my driver as THE driver for such a modem. - My driver does not show up in the list of drivers currently loaded
even though my Dummy modem is installed. To see this, I am using “Object
Viewer”, a utility given by Walter Oney. - My debugger “SoftICE” shows errors in kernel.
- I need to reboot the system and uninstall the driver.
My query is :
- If I want to write a “Controller-less Modem Driver” on win 2K and
register it as a driver for a Dummy modem which is attached to a dummy port,
how should my INF file be ? - Is such a design permitted on Win 2K ?
- How to make an application like Microsoft DUN recognize my driver
and use my driver , when a user selects my “Dummy Modem” in the drop-down
list of modems ?
I would very much appreciate any information in this regard,
Regards,
Shail.