Mux Intermediate Driver Query..

Hi,
I am building a Mux Intermediate Driver for Win 2K. I’m encountering
problems with the installation of the driver. Can anybody provide me with
the sample for Mux driver along with its protocol and miniport inf files. I
don’t have the DDK for Win XP which has this sample. Looking forward to a
positive response.

Thanks,
Regards
Deepak

Deepak,

The important ingredient to installing the MUX example is the Notify
Object that is supplied with the sample. While Filter IM drivers
(a.k.a. PASSTHRU) can be installed without a notify object – and often
are – MUX drivers cannot because the notify object manages the
bindings.

While the XP DDK can only be ordered (it’s not available for download) I
believe that it is free and it shouldn’t take to long to get shipped to
you. See http://www.microsoft.com/ddk for specific details. You should
have also received it if you are a MSDN subscriber. I think it would be
helpful to obtain the entire kit instead of just the sample because a
lot of improvements have been made to the DDK documentation relating to
MUX drivers and it would be time consuming to determine any
headers/libraries you also need.

A MUX driver built with the XP DDK can be loaded and used in Windows
2000.

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 14, 2002 3:39 AM
To: NT Developers Interest List
Subject: [ntdev] Mux Intermediate Driver Query…

Hi,
I am building a Mux Intermediate Driver for Win 2K. I’m encountering
problems with the installation of the driver. Can anybody provide me
with
the sample for Mux driver along with its protocol and miniport inf
files. I
don’t have the DDK for Win XP which has this sample. Looking forward to
a
positive response.

Thanks,
Regards
Deepak


You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to %%email.unsub%%

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

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%%