; 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,10.0.20348.1

[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]

[ControlFlags]
ExcludeFromSelect = *
PreConfigureDriver = *

[Manufacturer]
%Msft% = Msft, NTamd64

[Msft.NTamd64]
; DisplayName                 Section               DeviceID
; -----------                 -------               --------
%Mp-AsyncMac-DispName%      = Ndi-Mp-AsyncMac,      "SW\{eeab7790-c514-11d1-b42b-00805fc1270e}"
%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
*IfType         = 23		; IF_TYPE_PPP.
*MediaType      = 12		; NdisMediumCoWan
*PhysicalMediaType = 0		; NdisPhysicalMediumUnspecified
CopyFiles       = CopyFiles_AllUsers

[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
*IfType         = 6		; IF_TYPE_ETHERNET_CSMACD. Ndiswan Mimics Ethernet
*MediaType      = 0		; NdisMedium802_3
*PhysicalMediaType = 0		; NdisPhysicalMediumUnspecified

[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-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"

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

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

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

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

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

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

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

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

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

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

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


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

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

[Svc-Mp-Pppoe]
DisplayName     = "@%%systemroot%%\system32\mprmsg.dll,-32007"
ServiceType     = 1 ;SERVICE_KERNEL_DRIVER
StartType       = 3 ;SERVICE_DEMAND_START
ErrorControl    = 1 ;SERVICE_ERROR_NORMAL
ServiceBinary   = %12%\raspppoe.sys
Description     = "@%%systemroot%%\system32\mprmsg.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

[CopyFiles_AllUsers]

[Strings]
Msft = "Microsoft"

Mp-AsyncMac-DispName        = "RAS Async Adapter"
Mp-L2tp-DispName            = "WAN Miniport (L2TP)"
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"
