The information in this article applies to:
SUMMARYDial-Up Networking uses Session Management Modules to abstract the interface presented by the Dial-up server. This is the fourth of five Knowledge Base articles describing the use of Session Management Modules. MORE INFORMATION4. Setting Up an External Session Management ModuleTwo elements are required to set up an external Session Management Module for Windows 95 Dial-Up Networking.4.1. Session Management Module Setup Dynamic Linked Library (SMMSetup.dll)SMMSetup.dll contains utilities to modify the machine-dependent Dial-Up Networking information in the registry layout which cannot be specified statically in the setup .inf file. These are: a) the SMM order for a Dial-Up adapter and b) the list of the overlaid SMM.4.1.1. Modifying the Session Management Module OrderTo run the utility, the setup utility in SMMSetup.dll must be invoked with the following command line:Rundll32.exe SMMSetup.dll, SMM_Setup /a|i|d <Dial-Up adapter name> <Session Management Module>[,<Session Management Module>[…]]Rundll32.exe will load SMMSetup.dll and start executing the SMM_Setup entry point. Three options are available for the command. a The <Session Management Module> key will be appended at the end of the SMM list for the DRIVERS\<Dial-Up Adapter name x> key.Multiple <Session Management Module> parameters can be specified in a single call; the command will operate on each parameter from left to right. The command line is specified as a part of the setup .inf file for the external SMM. 4.1.2. Modifying the List of Overlaid Session Management ModuleTo run the utility, the setup utility in SMMSetup.dll must be invoked with the following command line:Rundll32.exe SMMSetup.dll,Overlaid_SMM /i|d|r <Session Management Module> <pathname>[,<pathname>[…]]Rundll32.exe will load SMMSetup.dll and start executing the Overlaid_SMM entry point. Two options are available for the command. i The <pathname> value will be inserted into the overlaid SMM list by replacing the current pathname in the Path value and moving the current pathname to the SMM list in the <Overlaid_SMM> key.Multiple <pathname> parameters can be specified in a single call; the command will operate on each name from right to left. The command line is specified as a part of the setup .inf file for the external SMM. 4.2. Session Management Module Setup .inf fileDial-Up Networking uses the standard Windows Setup program to add the Session Management Module into the Dial-Up Networking registry layout. The Windows Setup program requires a setup .inf file. The following highlights the required sections in the .inf file:
When a user wants to install an external SMM this .inf setup file and all the SMM modules and the SMMSetup.dll should be on the provided diskettes. The steps for installing an SMM are:
This section tells Setup to copy the external files to the Windows system directory:
This section lists the items that can be set up from this .inf file. EXT_SMM is the only item:
This section contains the following values:
This section contains the list of files to be copied to the Windows system directory.
The lines below the Session Management Module registration comment sets up the Dial-Up Networking registry layout for the Session Management Module except for the SMM order. The line below the RunOnce for SMMSetup utility comment tells the Windows Setup to execute the SMM setup utility during the installation.
REFERENCESFor additional information about the use of Session Management Modules, please see the following articles in the Microsoft Knowledge Base: Q232725 HOWTO: Windows 95/98 Session Management Modules (1/5) Q232708 HOWTO: Windows 95/98 Session Management Modules (2/5) Q232716 HOWTO: Windows 95/98 Session Management Modules (3/5) Q232725 HOWTO: Windows 95/98 Session Management Modules (5/5) Additional query words:
Keywords : kbnetwork kbNDIS kbWinOS95 kbWinOS98 |
Last Reviewed: June 9, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |