; NETRASA.INF -- WAN Miniports and wrappers
;
; Copyright (c) Microsoft Corporation.  All rights reserved.

[Version]
Signature   = "$Windows NT$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %Msft%
DriverVer=06/21/2006,6.1.7601.17514

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
rasirda.sys	= 3426


[ControlFlags]
ExcludeFromSelect =\
    SW\{eeab7790-c514-11d1-b42b-00805fc1270e},\
    MS_IrdaMiniport,\
    MS_IrModemMiniport, \
    MS_L2tpMiniport,MS_PptpMiniport,\
    MS_PppoeMiniport, \
    MS_NdisWanBh,\
    MS_NdisWanIp,\
    MS_NdisWanIpv6,\
    MS_NdisWanNbfIn,MS_NdisWanNbfOut

[Manufacturer]
%Msft% = Msft, NTx86

[Msft.NTx86]
; DisplayName                 Section               DeviceID
; -----------                 -------               --------
%Mp-AsyncMac-DispName%      = Ndi-Mp-AsyncMac,      "SW\{eeab7790-c514-11d1-b42b-00805fc1270e}"
%Mp-Irda-Dispname%          = Ndi-Mp-Irda,          "MS_IrdaMiniport"
%Mp-IrModem-Dispname%       = Ndi-Mp-IrModem,       "MS_IrModemMiniport"
%Mp-L2tp-Dispname%          = Ndi-Mp-L2tp,          "MS_L2tpMiniport"
%Mp-Pptp-Dispname%          = Ndi-Mp-Pptp,          "MS_PptpMiniport"
%Mp-Bh-DispName%            = Ndi-Mp-Bh,            "MS_NdisWanBh"
%Mp-Ip-DispName%            = Ndi-Mp-Ip,            "MS_NdisWanIp"
%Mp-Ipv6-DispName%	    = Ndi-Mp-Ipv6,          "MS_NdiswanIpv6"
%Mp-NbfIn-DispName%         = Ndi-Mp-NbfIn,         "MS_NdisWanNbfIn"
%Mp-NbfOut-DispName%        = Ndi-Mp-NbfOut,        "MS_NdisWanNbfOut"
%Mp-Pppoe-DispName%         = Ndi-Mp-Pppoe,         "MS_PppoeMiniport"


[Ndi-Mp-AsyncMac]
Characteristics = 0x002A    ; NCF_SOFTWARE_ENUMERATED | NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
AddReg          = Ndi-Reg-Mp-AsyncMac
CopyFiles       = CopyFiles_AllUsers


[Ndi-Mp-Irda]
CopyFiles       = RasIrda.CopyFiles
Characteristics = 0x0029    ; NCF_VIRTUAL | NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
AddReg          = Ndi-Reg-Mp-Irda


[Ndi-Mp-IrModem]
CopyFiles       = RasIrda.CopyFiles
Characteristics = 0x0029    ; NCF_VIRTUAL | NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
AddReg          = Ndi-Reg-Mp-IrModem

[Ndi-Mp-L2tp]
Characteristics = 0x0029    ; NCF_VIRTUAL | NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
AddReg          = Ndi-Reg-Mp-L2tp
*IfType         = 131		; IF_TYPE_TUNNEL. 
*MediaType      = 12		; NdisMediumCoWan 
*PhysicalMediaType = 0		; NdisPhysicalMediumUnspecified 

[Ndi-Mp-Pptp]
Characteristics = 0x0029    ; NCF_VIRTUAL | NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
AddReg          = Ndi-Reg-Mp-Pptp
*IfType         = 131		; IF_TYPE_TUNNEL.
*MediaType      = 12		; NdisMediumCoWan
*PhysicalMediaType = 0		; NdisPhysicalMediumUnspecified 



[Ndi-Mp-Bh]
Characteristics = 0x0029    ; NCF_VIRTUAL | NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
AddReg          = Ndi-Reg-Mp-Bh

[Ndi-Mp-Bh.Hw]
AddReg = Reg-LowerFilter-NdisTapi


[Ndi-Mp-Ip]
Characteristics = 0x0029    ; NCF_VIRTUAL | NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
AddReg          = Ndi-Reg-Mp-Ip
*IfType         = 6		; IF_TYPE_ETHERNET_CSMACD. Ndiswan Mimics Ethernet
*MediaType      = 0		; NdisMedium802_3
*PhysicalMediaType = 0		; NdisPhysicalMediumUnspecified 


[Ndi-Mp-Ip.Hw]
AddReg = Reg-LowerFilter-NdisTapi

[Ndi-Mp-Ipv6]
Characteristics = 0x0029    ; NCF_VIRTUAL | NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
AddReg          = Ndi-Reg-Mp-Ipv6
*IfType         = 6		; IF_TYPE_ETHERNET_CSMACD. Ndiswan Mimics Ethernet
*MediaType      = 0		; NdisMedium802_3
*PhysicalMediaType = 0		; NdisPhysicalMediumUnspecified 


[Ndi-Mp-Ipv6.Hw]
AddReg = Reg-LowerFilter-NdisTapi

[Ndi-Mp-NbfIn]
Characteristics = 0x0029    ; NCF_VIRTUAL | NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
AddReg          = Ndi-Reg-Mp-NbfIn

[Ndi-Mp-NbfIn.Hw]
AddReg = Reg-LowerFilter-NdisTapi


[Ndi-Mp-NbfOut]
Characteristics = 0x0029    ; NCF_VIRTUAL | NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
AddReg          = Ndi-Reg-Mp-NbfOut

[Ndi-Mp-NbfOut.Hw]
AddReg = Reg-LowerFilter-NdisTapi

[Ndi-Mp-Pppoe]
Characteristics = 0x0029    ; NCF_VIRTUAL | NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
AddReg          = Ndi-Reg-Mp-Pppoe
*IfType         = 23		; IF_TYPE_PPP. 
*MediaType      = 12		; NdisMediumCoWan 
*PhysicalMediaType = 0		; NdisPhysicalMediumUnspecified 


;-------------------------------------------------------------------------
; Lower filter sections
;-------------------------------------------------------------------------
[Reg-LowerFilter-NdisTapi]
HKR, ,               LowerFilters,      0x00010000, "NdisTapi"

;-------------------------------------------------------------------------
; NDI AddReg sections.
;-------------------------------------------------------------------------
[Ndi-Reg-Mp-AsyncMac]
HKR, Ndi,            Service,           0,          "AsyncMac"
HKR, Ndi\Interfaces, UpperRange,        0,          "ndiswanasync"
HKR, Ndi\Interfaces, LowerRange,        0,          "nolower"
HKR, ,               PnPCapabilities,   0x00010001, 1


[Ndi-Reg-Mp-Irda]
HKR, Ndi,            Service,           0,          "Rasirda"
HKR, Ndi\Interfaces, UpperRange,        0,          "ndiscowan"
HKR, Ndi\Interfaces, LowerRange,        0,          "nolower"
HKR, ,               MinWanEndpoints,   0x00010001, 0
HKR, ,               MaxWanEndpoints,   0x00010001, 4
HKR, ,               WanEndpoints,      0x00010003, 1
HKR, ,               ModemPort,         0x00010003, 0
HKR, ,               TapiLineName,      0,          %Mp-Irda-LineName%

[Ndi-Reg-Mp-IrModem]
HKR, Ndi,            Service,           0,          "Rasirda"
HKR, Ndi\Interfaces, UpperRange,        0,          "ndiscowan"
HKR, Ndi\Interfaces, LowerRange,        0,          "nolower"
HKR, ,               MinWanEndpoints,   0x00010001, 0
HKR, ,               MaxWanEndpoints,   0x00010001, 1
HKR, ,               WanEndpoints,      0x00010003, 1
HKR, ,               ModemPort,         0x00010003, 1
HKR, ,               TapiLineName,      0,          %Mp-IrModem-LineName%


[Ndi-Reg-Mp-L2tp]
HKR, Ndi,            Service,           0,          "Rasl2tp"
HKR, Ndi\Interfaces, UpperRange,        0,          "ndiscowan"
HKR, Ndi\Interfaces, LowerRange,        0,          "nolower"
HKR, ,               MinWanEndpoints,   0x00010001, 0
HKR, ,               MaxWanEndpoints,   0x00010001, 3
HKR, ,               WanEndpoints,      0x00010003, 2

[Ndi-Reg-Mp-Pptp]
HKR, Ndi,            Service,           0,          "PptpMiniport"
HKR, Ndi\Interfaces, UpperRange,        0,          "ndiscowan"
HKR, Ndi\Interfaces, LowerRange,        0,          "nolower"
HKR, ,               MinWanEndpoints,   0x00010001, 0
HKR, ,               MaxWanEndpoints,   0x00010001, 3
HKR, ,               TapiLineName,      0,          %Mp-Pptp-LineName%
HKR, ,               InactivityIdleSeconds, 0,      60
HKR, ,               TcpPortNumber,     0x00010003, 1723
HKR, ,               TcpDisconnectTimeout, 0x00010003, 30
HKR, ,               TcpConnectTimeout, 0x00010003, 30
HKR, ,               ClientIpAddresses, 0x00010002, ""
HKR, ,               ClientIpMasks,     0x00010002, ""
HKR, ,               AuthenticateIncomingCalls, 0x00010003, 0
HKR, ,               WanEndpoints,      0x00010003, 2


[Ndi-Reg-Mp-Bh]
HKR, Ndi,            BindForm,          0,          "NdisWanBh"
HKR, Ndi,            Service,           0,          "NdisWan"
HKR, Ndi\Interfaces, UpperRange,        0,          "ndiswanbh"
HKR, Ndi\Interfaces, LowerRange,        0,          "wan"
HKR, ,               EnumExportPref,    0x00010001, 0


[Ndi-Reg-Mp-Ip]
HKR, Ndi,            BindForm,          0,          "NdisWanIp"
HKR, Ndi,            Service,           0,          "NdisWan"
HKR, Ndi\Interfaces, UpperRange,        0,          "ndiswanip"
HKR, Ndi\Interfaces, LowerRange,        0,          "wan"
HKR, Ndi,            RequiredAll,       0,          "MS_wanarp"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
,"ASYNCMAC",,"rundll32.exe streamci,StreamingDeviceSetup {eeab7790-c514-11d1-b42b-00805fc1270e},asyncmac,{ad498944-762f-11d0-8dcb-00c04fc3358c},%17%\netrasa.inf,Ndis-Mp-AsyncMac"

[Ndi-Reg-Mp-Ipv6]
HKR, Ndi,            BindForm,          0,          "NdisWanIpv6"
HKR, Ndi,            Service,           0,          "NdisWan"
HKR, Ndi\Interfaces, UpperRange,        0,          "ndiswanipv6"
HKR, Ndi\Interfaces, LowerRange,        0,          "wan"
HKR, Ndi,            RequiredAll,       0,          "MS_wanarpv6"


[Ndi-Reg-Mp-NbfIn]
HKR, Ndi,            BindForm,          0,          "NdisWanNbfIn%%3"
HKR, Ndi,            Service,           0,          "NdisWan"
HKR, Ndi\Interfaces, UpperRange,        0,          "ndiswannbf"
HKR, Ndi\Interfaces, LowerRange,        0,          "wan"
HKR, ,               EnumExportPref,    0x00010001, 0


[Ndi-Reg-Mp-NbfOut]
HKR, Ndi,            BindForm,          0,          "NdisWanNbfOut%%3"
HKR, Ndi,            Service,           0,          "NdisWan"
HKR, Ndi\Interfaces, UpperRange,        0,          "ndiswannbf"
HKR, Ndi\Interfaces, LowerRange,        0,          "wan"
HKR, ,               EnumExportPref,    0x00010001, 1

[Ndi-Reg-Mp-Pppoe]
HKR, Ndi,            Service,           0,          "RasPppoe"
HKR, Ndi\Interfaces, UpperRange,        0,          "ndiscowan"
HKR, Ndi\Interfaces, LowerRange,        0,          "nolower"
HKR, ,               MinWanEndpoints,   0x00010001, 0
HKR, ,               MaxWanEndpoints,   0x00010001, 100
HKR, ,               TapiLineName,      0,          %Mp-Pppoe-LineName%
HKR, ,               WanEndpoints,      0x00010003, 1

;-------------------------------------------------------------------------
; [Services] sections.
;   1 = SPSVCINST_TAGTOFRONT
;   2 = SPSVCINST_ASSOCSERVICE
;   4 = SPSVCINST_DELETEEVENTLOGENTRY
;-------------------------------------------------------------------------

[Ndi-Mp-AsyncMac.Services]
AddService = AsyncMac,      2, Svc-Mp-AsyncMac,  Evt-Rasmsg

[Ndi-Mp-Irda.Services]
AddService = Rasirda,       2, Svc-Mp-Irda

[Ndi-Mp-IrModem.Services]
AddService = Rasirda,       2, Svc-Mp-IrModem

[Ndi-Mp-L2tp.Services]
AddService = Rasl2tp,       2, Svc-Mp-L2tp

[Ndi-Mp-Pptp.Services]
AddService = PptpMiniport,  2, Svc-Mp-Pptp,      Evt-Pptp

[Ndi-Mp-Bh.Services]
AddService = NdisWan,       2, Svc-Mp-NdisWan,   Evt-Rasmsg
AddService = NdisTapi,      0, Svc-NdisTapi

[Ndi-Mp-Ip.Services]
AddService = NdisWan,       2, Svc-Mp-NdisWan,   Evt-Rasmsg
AddService = NdisTapi,      0, Svc-NdisTapi

[Ndi-Mp-IpV6.Services]
AddService = NdisWan,       2, Svc-Mp-NdisWan,   Evt-Rasmsg
AddService = NdisTapi,      0, Svc-NdisTapi

[Ndi-Mp-NbfIn.Services]
AddService = NdisWan,       2, Svc-Mp-NdisWan,   Evt-Rasmsg
AddService = NdisTapi,      0, Svc-NdisTapi

[Ndi-Mp-NbfOut.Services]
AddService = NdisWan,       2, Svc-Mp-NdisWan,   Evt-Rasmsg
AddService = NdisTapi,      0, Svc-NdisTapi

[Ndi-Mp-Pppoe.Services]
AddService = RasPppoe,      2, Svc-Mp-Pppoe


;-------------------------------------------------------------------------
; [Service Install] sections.
;-------------------------------------------------------------------------

[Svc-Mp-AsyncMac]
DisplayName     = "@%systemroot%\system32\rascfg.dll,-32000"
ServiceType     = 1 ;SERVICE_KERNEL_DRIVER
StartType       = 3 ;SERVICE_DEMAND_START
ErrorControl    = 1 ;SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\asyncmac.sys
Description     = "@%systemroot%\system32\rascfg.dll,-32000"

[Svc-NdisTapi]
DisplayName     = "@%systemroot%\system32\rascfg.dll,-32001"
ServiceType     = 1 ;SERVICE_KERNEL_DRIVER
StartType       = 3 ;SERVICE_DEMAND_START
ErrorControl    = 1 ;SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\ndistapi.sys
AddReg          = Reg-NdisTapi
Description     = "@%systemroot%\system32\rascfg.dll,-32001"

[Reg-NdisTapi]
HKR, Parameters, AsyncEventQueueSize, 0x00010003, 0x300

[Svc-Mp-NdisWan]
DisplayName     = "@%systemroot%\system32\rascfg.dll,-32002"

ServiceType     = 1 ;SERVICE_KERNEL_DRIVER
StartType       = 3 ;SERVICE_DEMAND_START
ErrorControl    = 1 ;SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\ndiswan.sys
;Dependencies   = NdisTapi
AddReg          = Reg-NdisWan
Description     = "@%systemroot%\system32\rascfg.dll,-32002"

[Reg-NdisWan]
HKR, Parameters,, 0x10  ;FLG_ADDREG_KEYONLY


[Svc-Mp-Irda]
DisplayName     = "@%systemroot%\system32\rascfg.dll,-32003"
ServiceType     = 1 ;SERVICE_KERNEL_DRIVER
StartType       = 3 ;SERVICE_DEMAND_START
ErrorControl    = 1 ;SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\rasirda.sys
Description     = "@%systemroot%\system32\rascfg.dll,-32003"

[Svc-Mp-IrModem]
DisplayName     = "@%systemroot%\system32\rascfg.dll,-32004"
ServiceType     = 1 ;SERVICE_KERNEL_DRIVER
StartType       = 3 ;SERVICE_DEMAND_START
ErrorControl    = 1 ;SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\rasirda.sys
Description     = "@%systemroot%\system32\rascfg.dll,-32004"

[Svc-Mp-L2tp]
DisplayName     = "@%systemroot%\system32\rascfg.dll,-32005"
ServiceType     = 1 ;SERVICE_KERNEL_DRIVER
StartType       = 3 ;SERVICE_DEMAND_START
ErrorControl    = 1 ;SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\rasl2tp.sys
Description     = "@%systemroot%\system32\rascfg.dll,-32005"

[Svc-Mp-Pptp]
DisplayName     = "@%systemroot%\system32\rascfg.dll,-32006"
ServiceType     = 1 ;SERVICE_KERNEL_DRIVER
StartType       = 3 ;SERVICE_DEMAND_START
ErrorControl    = 1 ;SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\raspptp.sys
Description     = "@%systemroot%\system32\rascfg.dll,-32006"

[Svc-Mp-Pppoe]
DisplayName     = "@%systemroot%\system32\rascfg.dll,-32007"
ServiceType     = 1 ;SERVICE_KERNEL_DRIVER
StartType       = 3 ;SERVICE_DEMAND_START
ErrorControl    = 1 ;SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\raspppoe.sys
Description     = "@%systemroot%\system32\rascfg.dll,-32007"

;-------------------------------------------------------------------------
; [Event Log] sections.
;-------------------------------------------------------------------------

[Evt-Pptp]
AddReg = Evt-Pptp-AddReg

[Evt-Pptp-AddReg]
HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
HKR,, TypesSupported,   0x00010001, 0x00000007


[Evt-Rasmsg]
AddReg = Evt-Rasmsg-AddReg

[Evt-Rasmsg-AddReg]
HKR,, EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\mprmsg.dll"
HKR,, TypesSupported,   0x00010001, 0x0000001f


[DestinationDirs]
CopyFiles_AllUsers = 16419,Microsoft\Network\Connections\Pbk
RasIrda.CopyFiles  = 12

[CopyFiles_AllUsers]

[RasIrda.CopyFiles]
rasirda.sys

[Strings]
Msft = "Microsoft"

Mp-AsyncMac-DispName        = "RAS Async Adapter"
Mp-L2tp-DispName            = "WAN Miniport (L2TP)"
Mp-Irda-DispName            = "Infrared Port"
Mp-IrModem-DispName         = "Infrared Modem Port"
Mp-Irda-LineName            = "Infrared Direct Line"
Mp-IrModem-LineName         = "Infrared Modem Line"
Mp-Pptp-DispName            = "WAN Miniport (PPTP)"
Mp-Pptp-LineName            = "RAS VPN Line"
;Mp-Pptp-LineName must use ANSI characters, not UNICODE.
Mp-Bh-DispName              = "WAN Miniport (Network Monitor)"
Mp-Ip-DispName              = "WAN Miniport (IP)"
Mp-Ipv6-DispName            = "WAN Miniport (IPv6)"
Mp-NbfIn-DispName           = "WAN Miniport (NetBEUI, Dial In)"
Mp-NbfOut-DispName          = "WAN Miniport (NetBEUI, Dial Out)"
Mp-Pppoe-DispName           = "WAN Miniport (PPPOE)"
Mp-Pppoe-LineName           = "RAS PPPOE Line"

