This section provides information on how to install an NDIS WAN driver such that Remote Access setup can be configured to use that driver.
Write a configuration utility that installs the driver. Package the configuration utility as a DLL that can be started from the network control panel by using an installation script (.inf file). Users can then install the NIC by using the network control panel application, clicking the Add Adapter button, and installing the correct driver.
ISDN Adapters: ISDN1, ISDN2, ... ISDNm
Switched 56 Adapters: Sw56_1, Sw56_2, ... Sw56_m
X.25 Adapters: X25_1, X25_2, ... X25_m.
where m represents the number of the card starting with one.
Service providers should store their configured data in the following location and format in the registry. If the TAPI DEVICES key does not already exist, the service provider setup script should create the key and add the entries corresponding to the addresses configured by the user. This installation script should remove the service provider key and the corresponding value if (or when) the user deletes the WAN miniport from the network control panel application.
A detailed description of each key follows the registry layout shown here:
HKEY_LOCAL_MACHINE
SOFTWARE
MICROSOFT
RAS
TAPI DEVICES
Service Provider 1
Media Type: REG_SZ: media_type
Address: REG_MULTI_SZ: address1 address2
..addressN
Service Provider 2
Media Type: REG_SZ: media_type
Address: REG_MULTI_SZ: address1 address2
..addressN
. . .
Service Provider N
Media Type: REG_SZ: media_type
Address: REG_MULTI_SZ: address1 address2
..addressN
The following example shows how the registry might look if there were an ISDN adapter with one line supporting either or both channels; an X25 adapter supporting 4 virtual circuits; and two Switched 56K adapters, one with a single line and another with two lines, both adapters supported by the same driver. The NetworkCards key is assumed to have assigned the numbers 1, 2, 3, 4 to these adapters.
ISDNDRV
Media Type: REG_SZ: ISDN
Address REG_MULTI_SZ 1 1 0 1 1 1 1 1 3
X25DRV
Media Type: REG_SZ: X25_
Address: REG_MULTI_SZ: 2 1 0 2 1 1" 2 1 2 2 1 3
SW56DRV
Media Type: REG_SZ: Sw56_
Address: REG_MULTI_SZ: 3 1 0 4 1 0 4 2 0