Implementing a intermediate driver that works with RAS under NT

Unfortunately, because of the "open" architecture of Windows NT it is absolutely impossible to implement intermediate drivers using the information provided in DDK.  Many aspects of the problem are completely uncovered there; and thanks God there are several examples of intermediate drivers which you can use as a starting point for an intermediate driver.

Unfortunately again, those examples work only for network cards such as Ethernet, Fddi and Token-Ring; trying to use them for NdisWan (this is microsoft's acronym for RAS pseudo-"network cards") fails.  The main reason for this is that RAS uses a proprietary interface (aside of the "standard" NDIS interface). The following instructions are how to make an intermediate driver that will accomplish this proprietary interface; however the following was tested only with NetBIOS transport, but TCP/IP transport should work this way too.

Here are the instructions how to adapt a intermediate driver that works with network cards to make it work with RAS: