Deepak,
I was able to port the PASSTHRU sample to 9x/ME after quite an effort.
There were quite a few obstacles, including creating a single INF,
determining which NDIS functions were not exported by the NDIS library
(and thus, prevented my driver from loading by VxDLdr), how to break the
original binding between the protocol and the adapter miniport (had to
do it manually) and getting NdisIMInitializeDeviceInstance to work. For
the latter, I had to ensure that I had a dummy devnode already in the
registry via this entry in my INF:
HKLM,Enum\Root\NDIS\PASSTHRU
HKLM,Enum\Root\NDIS\PASSTHRU,DeviceDesc,“PASSTHRU Protocol
driver”
HKLM,Enum\Root\NDIS\PASSTHRU,Class,“Ndis”
HKLM,Enum\Root\NDIS\PASSTHRU,ConfigFlags,1,10,00,00,00
HKLM,Enum\Root\NDIS\PASSTHRU,Driver,“Ndis”
Also, it was not possible to make it work over the dial-up adapter.
I never considered what would be involved to port MUX; I’m not sure it
is possible. You will probably have to manage the bindings in the
registry yourself. I will send you my work on PASSTHRU, which you are
free to use as a reference.
Bryan S. Burgin
xxxxx@microsoft.com
This posting is provided “AS IS” with no warranties, and confers no
rights.
-----Original Message-----
From: Deepak Godhwani [mailto:xxxxx@patni.com]
Sent: Thursday, November 21, 2002 9:14 PM
To: NT Developers Interest List
Subject: [ntdev] MUX Intermediate Driver Query…
Hi,
I am developing a Mux Intermediate Driver for Win 98/Me. I have made
the
following changes to the Mux Intermediate Driver sample for WinXP
- Incorporated the protocol and miniport installation in single inf file
and
made the necessary changes.
- Built the mux.sys file for Win 98 by setting #define WIN9X in the
header
file. The conditional #ifdef WIN9X statements are already present in the
code.
But I am still encountering some problems with the installation of the
driver. After installation I see the entries for the driver in the
Network
properties window and I am prompted for a reboot, but as soon as I
reboot
the machine , the entries are not visible.
Do I need to make any changes to the Notify Object code ? Can anybody
provide me with the inf file for Win 98. Looking forward to a positive
response.
Thanks and Regards
Deepak
You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to %%email.unsub%%