[version]
LayoutFile=layout.inf
signature="$CHICAGO$"
Class=NetTrans
provider=Microsoft

[Manufacturer]
"(Network Protocol)"=MS

[MS]
"NetBEUI"=NETBEUI.ndi,NETBEUI
"IPX/SPX-compatible Protocol"=NWLINK.ndi,NWLINK
"NETBIOS support for IPX/SPX-compatible Protocol"=NWNBLINK.ndi,NWNBLINK
"TCP/IP"=MSTCP.ndi,MSTCP
"Fast Infrared Protocol"=FASTIR.ndi,FASTIR




[ControlFlags]
ExcludeFromSelect=NWNBLINK
ExcludeFromSelect=NFSLINK

;****************************************************************************
;NETBEUI
;****************************************************************************
[NETBEUI.ndi]
AddReg=NETBEUI.ndi.reg
DeviceID=NETBEUI
MaxInstance=8

[NETBEUI.ndi.reg]
HKR,Ndi,DeviceID,,NETBEUI
HKR,Ndi,MaxInstance,,8
HKR,NDIS,LogDriverName,,NETBEUI
HKR,NDIS,MajorNdisVersion,1,03
HKR,NDIS,MinorNdisVersion,1,0A
HKR,NDIS\NDIS2,DriverName,,"NETBEUI$"
HKR,NDIS\NDIS2,FileName,,"*netbeui"
HKR,Ndi\Interfaces,DefUpper,,"netbios"
HKR,Ndi\Interfaces,DefLower,,"ndis2,ndis3,odi"
HKR,Ndi\Interfaces,UpperRange,,"netbios"
HKR,Ndi\Interfaces,LowerRange,,"ndis2,ndis3,odi"
HKR,Ndi\Install,,,"NETBEUI.Install"
HKR,Ndi\Remove,,,"NETBEUI.Remove"
HKR,Ndi\params\sessions,location,,"System\CurrentControlSet\Services\Vxd\NetBeui"
HKLM,System\CurrentControlSet\Services\VxD\NETBEUI\Ndi\params\sessions,ParamDesc,,"Maximum Sessions"
HKLM,System\CurrentControlSet\Services\VxD\NETBEUI\Ndi\params\sessions,default,,10
HKLM,System\CurrentControlSet\Services\VxD\NETBEUI\Ndi\params\sessions,type,,int
HKLM,System\CurrentControlSet\Services\VxD\NETBEUI\Ndi\params\sessions,min,,3
HKLM,System\CurrentControlSet\Services\VxD\NETBEUI\Ndi\params\sessions,max,,117
HKR,Ndi\params\ncbs,location,,"System\CurrentControlSet\Services\Vxd\NetBeui"
HKLM,System\CurrentControlSet\Services\VxD\NETBEUI\Ndi\Params\ncbs,ParamDesc,,NCBS
HKLM,System\CurrentControlSet\Services\VxD\NETBEUI\Ndi\Params\ncbs,default,,12
HKLM,System\CurrentControlSet\Services\VxD\NETBEUI\Ndi\Params\ncbs,type,,int
HKLM,System\CurrentControlSet\Services\VxD\NETBEUI\Ndi\Params\ncbs,min,,7
HKLM,System\CurrentControlSet\Services\VxD\NETBEUI\Ndi\Params\ncbs,max,,255
HKR,Ndi,HelpText,,"NetBEUI is a protocol you can use to connect to Windows NT, Windows for Workgroups, or LAN Manager servers."



[NETBEUI.Install]
AddReg=NETBEUI.AddReg
CopyFiles=NETBEUI.CopyFiles

[NETBEUI.AddReg]
HKR,,DevLoader,,*ndis
HKR,,DeviceVxDs,,netbeui.vxd

[NETBEUI.CopyFiles]
netbeui.vxd

[NETBEUI.Remove]

;****************************************************************************
;NWNBLINK
;****************************************************************************
[NWNBLINK.ndi]
AddReg=NWNBLINK.ndi.reg
DeviceID=NWNBLINK
MaxInstance=1

[NWNBLINK.ndi.reg]
HKR,Ndi,DeviceID,,NWNBLINK
HKR,Ndi,MaxInstance,,1
HKR,Ndi,StaticVxd,,"nwnblink.vxd"
HKR,Ndi\Compatibility,RequireAll,,"NWLINK"
HKR,NDIS,LogDriverName,,"NWNBLINK"
HKR,NDIS,MajorNdisVersion,1,03
HKR,NDIS,MinorNdisVersion,1,0A
HKR,Ndi\Interfaces,DefUpper,,"netbios"
HKR,Ndi\Interfaces,DefLower,,"ipx"
HKR,Ndi\Interfaces,UpperRange,,"netbios"
HKR,Ndi\Interfaces,LowerRange,,"ipx"
HKR,Ndi\Install,netbios,,"NWNBLINK.Install"
HKR,Ndi,HelpText,,"The NetBIOS over IPX/SPX-compatible protocol allows you to run NetBIOS applications over the IPX/SPX-compatible protocol."

[NWNBLINK.Install]
AddReg=NWNBLINK.AddReg
CopyFiles=NWNBLINK.copy
[NWNBLINK.AddReg]
HKR,,DevLoader,,*ndis
HKR,,DeviceVxDs,,nwnblink.vxd
HKLM,"SYSTEM\CurrentControlSet\Services\VxD\NWNBLINK",StaticVxD,,nwnblink.vxd
HKLM,"SYSTEM\CurrentControlSet\Services\VxD\NWNBLINK",Start,1,00
HKLM,"SYSTEM\CurrentControlSet\Services\VxD\NWNBLINK",NetClean,1,1

[NWNBLINK.copy]
nwnblink.vxd

[NWNBLINK.Remove]
DelReg=NWNBLINK.rmv.AddReg
[NWNBLINK.rmv.AddReg]
HKLM,"System\CurrentControlSet\Services\VxD\NWNBLINK",StaticVxD


;****************************************************************************
;NWLINK
;****************************************************************************
[NWLINK.ndi]
DelReg=NWLINK.ndi.delreg
AddReg=NWLINK.ndi.reg
DeviceID=NWLINK
MaxInstance=4

[NWLINK.ndi.reg]
HKR,Ndi,DeviceID,,NWLINK
HKR,Ndi,MaxInstance,,8
HKR,Ndi,NdiInstaller,,"netdi.dll,NwlinkNdiProc"
;HKR,Ndi,StaticVxd,,"nwlink.vxd"
HKR,NDIS,LogDriverName,,"NWLINK"
HKR,NDIS,MajorNdisVersion,1,03
HKR,NDIS,MinorNdisVersion,1,0A
HKR,NDIS\NDIS2,DriverName,,"nwlink$"
HKR,NDIS\NDIS2,FileName,,"*nwlink"
HKR,Ndi\Interfaces,DefUpper,,"ipx,ipxDHost,winsock"
HKR,Ndi\Interfaces,DefLower,,"ndis2,ndis3,odi"
HKR,Ndi\Interfaces,UpperRange,,"ipx,ipxDHost,winsock"
HKR,Ndi\Interfaces,LowerRange,,"ndis2,ndis3,odi"
HKR,Ndi\Install,,,"NWLINK.Install"
HKR,Ndi\Remove,,,"NWLINK.Remove"
HKR,Ndi\params\Network_Id,flag,1,20,00,00,00
HKR,Ndi\params\Network_Id,default,,0
HKR,Ndi\params\Network_Id,ParamDesc,,"Network Address"
HKR,Ndi\params\Network_Id,type,,dword
HKR,Ndi\params\Network_Id,base,,16
;HKR,Ndi\params\Flags,default,,0
;HKR,Ndi\params\Flags,ParamDesc,,Flags
;HKR,Ndi\params\Flags,type,,dword
;HKR,Ndi\params\Flags,base,,16
HKR,Ndi\params\Frame_Type,ParamDesc,,"Frame Type"
HKR,Ndi\params\Frame_Type,default,,4
HKR,Ndi\params\Frame_Type,type,,enum
HKR,Ndi\params\Frame_Type\enum,"4",,"Auto"
HKR,Ndi\params\Frame_Type\enum,"1",,"Ethernet 802.2"
HKR,Ndi\params\Frame_Type\enum,"0",,"Ethernet 802.3"
HKR,Ndi\params\Frame_Type\enum,"2",,"Ethernet II"
HKR,Ndi\params\Frame_Type\enum,"5",,"Token Ring"
HKR,Ndi\params\Frame_Type\enum,"6",,"Token Ring SNAP"
HKR,Ndi\params\maxconnect,location,,"System\CurrentControlSet\Services\Vxd\NWLink"
HKLM,System\CurrentControlSet\Services\VxD\NWLink\Ndi\params\maxconnect,ParamDesc,,"Maximum Connections"
HKLM,System\CurrentControlSet\Services\VxD\NWLink\Ndi\params\maxconnect,optional,,1
HKLM,System\CurrentControlSet\Services\VxD\NWLink\Ndi\params\maxconnect,type,,int
HKLM,System\CurrentControlSet\Services\VxD\NWLink\Ndi\params\maxconnect,min,,1
HKLM,System\CurrentControlSet\Services\VxD\NWLink\Ndi\params\maxconnect,max,,128
HKR,Ndi\params\maxsockets,location,,"System\CurrentControlSet\Services\Vxd\NWLink"
HKLM,System\CurrentControlSet\Services\VxD\NWLink\Ndi\params\maxsockets,ParamDesc,,"Maximum Sockets"
HKLM,System\CurrentControlSet\Services\VxD\NWLink\Ndi\params\maxsockets,optional,,1
HKLM,System\CurrentControlSet\Services\VxD\NWLink\Ndi\params\maxsockets,type,,int
HKLM,System\CurrentControlSet\Services\VxD\NWLink\Ndi\params\maxsockets,min,,2
HKLM,System\CurrentControlSet\Services\VxD\NWLink\Ndi\params\maxsockets,max,,255
HKR,Ndi\params\forceeven,location,,"System\CurrentControlSet\Services\Vxd\NWLink"
HKLM,System\CurrentControlSet\Services\VxD\NWLink\Ndi\params\forceeven,ParamDesc,,"Force Even Length Packets"
HKLM,System\CurrentControlSet\Services\VxD\NWLink\Ndi\params\forceeven,optional,,1
HKLM,System\CurrentControlSet\Services\VxD\NWLink\Ndi\params\forceeven,default,,0
HKLM,System\CurrentControlSet\Services\VxD\NWLink\Ndi\params\forceeven,type,,enum
HKLM,System\CurrentControlSet\Services\VxD\NWLink\Ndi\params\forceeven\enum,0,,No
HKLM,System\CurrentControlSet\Services\VxD\NWLink\Ndi\params\forceeven\enum,1,,Yes
HKR,Ndi\params\cachesize,location,,"System\CurrentControlSet\Services\Vxd\NWLink"
HKLM,System\CurrentControlSet\Services\VxD\NWLink\Ndi\params\cachesize,ParamDesc,,"Source Routing"
HKLM,System\CurrentControlSet\Services\VxD\NWLink\Ndi\params\cachesize,type,,enum
HKLM,System\CurrentControlSet\Services\VxD\NWLink\Ndi\params\cachesize,default,,0
HKLM,System\CurrentControlSet\Services\VxD\NWLink\Ndi\params\cachesize\enum,0,,Off
HKLM,System\CurrentControlSet\Services\VxD\NWLink\Ndi\params\cachesize\enum,16,,16
HKLM,System\CurrentControlSet\Services\VxD\NWLink\Ndi\params\cachesize\enum,32,,32
HKLM,System\CurrentControlSet\Services\VxD\NWLink\Ndi\params\cachesize\enum,64,,64
HKR,Ndi,HelpText,,"The IPX/SPX-compatible protocol is a protocol NetWare and Windows NT servers, and Windows 95 computers use to communicate."

[NWLINK.ndi.delreg]
HKR,"Ndi","RenameBase"

[NWLINK.Install]
AddReg=NWLINK.AddReg
CopyFiles=NWLINK.CopyFiles

[NWLINK.AddReg]
HKR,,DevLoader,,*ndis
HKR,,DeviceVxDs,,nwlink.vxd

[NWLINK.CopyFiles]
nwlink.vxd

[NWLINK.Install.WSock2]
CopyFiles=NWLINK.Ins.WSock2.CopyFiles ;,WSOCK.sys.copyfiles
AddReg=NWLINK.Ins.WSock2.AddReg

[NWLINK.Ins.WSock2.CopyFiles]
wsipx.vxd

[NWLINK.Ins.WSock2.AddReg]
HKLM,"SYSTEM\CurrentControlSet\Services\VxD\Winsock","IPX/SPX Winsock Provider",,"wsipx.vxd"
HKLM,"SYSTEM\CurrentControlSet\Services\Winsock2\Providers\IPX","ProviderName",,"Microsoft IPX"
HKR,Ndi\ExecuteAPI\NwInstall,,,WSCInstallProvider
HKR,Ndi\ExecuteAPI\NwInstall,GUID,1,E1,7D,01,FF,E9,CA,CF,11,8A,99,00,AA,00,62,C6,09
HKR,Ndi\ExecuteAPI\NwInstall,Provider,,"%11%\mswsosp.dll"
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\1,ServiceFlags1,1,1E,00,02,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\1,ServiceFlags2,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\1,ServiceFlags3,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\1,ServiceFlags4,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\1,ProviderFlags,1,08,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\1,ChainLen,1,01,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\1,Version,1,01,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\1,AddressFamily,1,06,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\1,MaxSockAddr,1,0E,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\1,MinSockAddr,1,10,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\1,SocketType,1,01,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\1,Protocol,1,E8,04,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\1,ProtocolMaxOffset,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\1,NetworkByteOrder,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\1,SecurityScheme,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\1,MessageSize,1,FF,FF,FF,FF
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\1,ProviderReserved,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\1,ProtocolString,,"MS.w95.spi.spx"
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\2,ServiceFlags1,1,3E,00,02,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\2,ServiceFlags2,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\2,ServiceFlags2,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\2,ServiceFlags3,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\2,ServiceFlags4,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\2,ProviderFlags,1,08,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\2,ChainLen,1,01,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\2,Version,1,01,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\2,AddressFamily,1,06,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\2,MaxSockAddr,1,0E,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\2,MinSockAddr,1,10,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\2,SocketType,1,05,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\2,Protocol,1,E8,04,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\2,ProtocolMaxOffset,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\2,NetworkByteOrder,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\2,SecurityScheme,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\2,MessageSize,1,FF,FF,FF,FF
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\2,ProviderReserved,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\2,ProtocolString,,"MS.w95.spi.spx/seq"
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\3,ServiceFlags1,1,09,06,02,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\3,ServiceFlags2,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\3,ServiceFlags3,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\3,ServiceFlags4,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\3,ProviderFlags,1,08,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\3,ChainLen,1,01,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\3,Version,1,01,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\3,AddressFamily,1,06,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\3,MaxSockAddr,1,10,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\3,MinSockAddr,1,0E,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\3,SocketType,1,02,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\3,Protocol,1,E8,03,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\3,ProtocolMaxOffset,1,FF,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\3,NetworkByteOrder,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\3,SecurityScheme,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\3,MessageSize,1,40,02,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\3,ProviderReserved,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\3,ProtocolString,,"MS.w95.spi.ipx"
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\4,ServiceFlags1,1,09,06,02,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\4,ServiceFlags2,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\4,ServiceFlags3,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\4,ServiceFlags4,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\4,ProviderFlags,1,0c,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\4,ChainLen,1,01,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\4,Version,1,01,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\4,AddressFamily,1,ce,fa,ce,fa
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\4,MaxSockAddr,1,10,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\4,MinSockAddr,1,0E,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\4,SocketType,1,ce,fa,ce,fa
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\4,Protocol,1,ce,fa,ce,fa
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\4,ProtocolMaxOffset,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\4,NetworkByteOrder,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\4,SecurityScheme,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\4,MessageSize,1,40,02,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\4,ProviderReserved,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwInstall\ProtocolInfo\4,ProtocolString,,"MS.w95.spi.osp"

;Executed if WSock1 has been restored or left on the machine; Section name embeded in ndiproc, don't change
[NWLINK.Install.OldWSock]



;=======================================Remove==========================================

[NWLINK.Remove]
DelReg=NWLINK.Rmv.DelReg

[NWLINK.Rmv.DelReg]
HKLM,"SYSTEM\CurrentControlSet\Services\VxD\Winsock","IPX/SPX Winsock Provider",

[NWLINK.Remove.WSock2]
AddReg=NWLINK.Rmv.WSock2.AddReg

[NWLINK.Rmv.WSock2.AddReg]
HKR,Ndi\ExecuteAPI\NwRemove1,,,WSCInstallProvider
HKR,Ndi\ExecuteAPI\NwRemove1,GUID,1,E1,7D,01,FF,E9,CA,CF,11,8A,99,00,AA,00,62,C6,09
HKR,Ndi\ExecuteAPI\NwRemove1,Provider,,"%11%\mswsosp.dll"
HKR,Ndi\ExecuteAPI\NwRemove1\ProtocolInfo\1,ServiceFlags1,1,09,06,02,00
HKR,Ndi\ExecuteAPI\NwRemove1\ProtocolInfo\1,ServiceFlags2,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwRemove1\ProtocolInfo\1,ServiceFlags3,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwRemove1\ProtocolInfo\1,ServiceFlags4,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwRemove1\ProtocolInfo\1,ProviderFlags,1,0c,00,00,00
HKR,Ndi\ExecuteAPI\NwRemove1\ProtocolInfo\1,ChainLen,1,01,00,00,00
HKR,Ndi\ExecuteAPI\NwRemove1\ProtocolInfo\1,Version,1,01,00,00,00
HKR,Ndi\ExecuteAPI\NwRemove1\ProtocolInfo\1,AddressFamily,1,ce,fa,ce,fa
HKR,Ndi\ExecuteAPI\NwRemove1\ProtocolInfo\1,MaxSockAddr,1,10,00,00,00
HKR,Ndi\ExecuteAPI\NwRemove1\ProtocolInfo\1,MinSockAddr,1,0E,00,00,00
HKR,Ndi\ExecuteAPI\NwRemove1\ProtocolInfo\1,SocketType,1,ce,fa,ce,fa
HKR,Ndi\ExecuteAPI\NwRemove1\ProtocolInfo\1,Protocol,1,ce,fa,ce,fa
HKR,Ndi\ExecuteAPI\NwRemove1\ProtocolInfo\1,ProtocolMaxOffset,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwRemove1\ProtocolInfo\1,NetworkByteOrder,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwRemove1\ProtocolInfo\1,SecurityScheme,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwRemove1\ProtocolInfo\1,MessageSize,1,40,02,00,00
HKR,Ndi\ExecuteAPI\NwRemove1\ProtocolInfo\1,ProviderReserved,1,00,00,00,00
HKR,Ndi\ExecuteAPI\NwRemove1\ProtocolInfo\1,ProtocolString,,"MS.w95.spi.osp"


;****************************************************************************
;TCP/IP
;****************************************************************************
[MSTCP.ndi]
DelReg=MSTCP.ndi.delreg
AddReg=MSTCP.ndi.reg
DeviceID=MSTCP
MaxInstance=6

[MSTCP.ndi.reg]
HKR,Ndi,DeviceID,,MSTCP
HKR,Ndi,MaxInstance,,8
HKR,Ndi,NdiInstaller,,"mstcp.dll,TcpNdiProc"
HKR,NDIS,LogDriverName,,"MSTCP"
HKR,NDIS,MajorNdisVersion,1,03
HKR,NDIS,MinorNdisVersion,1,0A
HKR,Ndi\Interfaces,DefUpper,,"netbios,tdi,winsock"
HKR,Ndi\Interfaces,DefLower,,"ndis2,ndis3,odi,ndisatm"
HKR,Ndi\Interfaces,UpperRange,,"netbios,tdi,winsock"
HKR,Ndi\Interfaces,LowerRange,,"ndis2,ndis3,odi,broadcastip,ndisatm"
HKR,Ndi\Compatibility,ExcludeAll,,"FTPTCP96,NMNDIS3,NEWTNDIS,NEWTODI,NEWTDIAL,MULTINET"
HKR,Ndi\Install,,,"MSTCP.Install"
HKR,Ndi\Remove,,,"MSTCP.Remove"
HKR,Ndi,HelpText,,"TCP/IP is the protocol you use to connect to the Internet and wide-area networks."
HKR,Ndi\params\AllowATM,location,,"System\CurrentControlSet\Services\Vxd\MSTCP"
HKLM,System\CurrentControlSet\Services\VxD\MSTCP\Ndi\params\AllowATM,ParamDesc,,"Allow Binding To ATM"
;HKLM,System\CurrentControlSet\Services\VxD\MSTCP\Ndi\params\AllowATM,optional,,1
HKLM,System\CurrentControlSet\Services\VxD\MSTCP\Ndi\params\AllowATM,default,,0
HKLM,System\CurrentControlSet\Services\VxD\MSTCP\Ndi\params\AllowATM,type,,enum
HKLM,System\CurrentControlSet\Services\VxD\MSTCP\Ndi\params\AllowATM\enum,0,,No
HKLM,System\CurrentControlSet\Services\VxD\MSTCP\Ndi\params\AllowATM\enum,1,,Yes
HKLM,System\CurrentControlSet\Services\VxD\MSTCP,LMHostFile,,"%10%\lmhosts"
HKLM,System\CurrentControlSet\Services\VxD\MSTCP\Ndi\ATMDefaults,ARPServerList,,"4700790001020000000000000000A03E00000200"
HKLM,System\CurrentControlSet\Services\VxD\MSTCP\Ndi\ATMDefaults,MARServerList,,"4700790001020000000000000000A03E00000200"
HKLM,System\CurrentControlSet\Services\VxD\MSTCP\Ndi\ATMDefaults,SapSelector,1,01,00,00,00
HKLM,System\CurrentControlSet\Services\VxD\MSTCP\Ndi\ATMDefaults,MTU,1,dc,23,00,00

[MSTCP.ndi.delreg]
HKR,"Ndi","RenameBase"

[MSTCP.Install]
AddReg=MSTCP.AddReg
CopyFiles=MSTCP.CopyFiles.sys,MSTCP.CopyFiles.win
UpdateAutoBat=MSTCP.UpdateAutoBat
UpdateCfgSys=MSTCP.UpdateCfgSys

[MSTCP.AddReg]
HKR,,DevLoader,,*ndis

[MSTCP.CopyFiles.sys]
vtdi.386
vip.386
vtcp.386
vdhcp.386
locproxy.exe
locprxy2.exe
dhcpcsvc.dll
vnbt.386
vudp.386
icmp.dll
iphlpapi.dll
ipcfgdll.dll

[MSTCP.CopyFiles.win]
hosts.sam
lmhosts.sam
networks
protocol
services,,,16
snmpapi.dll

[MSTCP.UpdateAutoBat]
CmdDelete=umb
CmdDelete=tcptsr
CmdDelete=tinyrfc
CmdDelete=nmtsr
CmdDelete=emsbfr
CmdDelete=dnr
CmdDelete=sockets

[MSTCP.UpdateCfgSys]
DevDelete=tcpdrv.dos
DevDelete=nemm.dos

;Executed if WSock2 was installed; Section name embeded in ndiproc, don't change
[MSTCP.Install.WSock2]
DelReg=MSTCP.Ins.WSock2.DelReg
AddReg=MSTCP.Ins.WSock2.AddReg,MSTCPRSVP.Ins.WSock2.AddReg
;CopyFiles=MSTCP.Ins.WSock2.Copy.Sys,WSOCK.sys.copyfiles,MSTCPRSVP.Ins.WSock2.Copy.Sys
CopyFiles=MSTCP.Ins.WSock2.Copy.Sys,MSTCPRSVP.Ins.WSock2.Copy.Sys

[MSTCP.Ins.WSock2.DelReg]
HKLM,"SYSTEM\CurrentControlSet\Services\VxD\Winsock","TCP/IP Winsock Provider",
HKLM,"SYSTEM\CurrentControlSet\Services\VxD\Winsock","Ancillary Function Driver for Winsock"

[MSTCP.Ins.WSock2.AddReg]
HKLM,"SYSTEM\CurrentControlSet\Services\VxD\Winsock2","Ancillary Function Driver for Winsock",,"afvxd.vxd"
HKLM,"SYSTEM\CurrentControlSet\Services\Winsock2\Providers\INET","ProviderName",,"Microsoft TCP"
HKLM,"SYSTEM\CurrentControlSet\Services\VxD\AFVXD","MSTCP Helper for Winsock",,"wshtcp.vxd"
HKLM,"System\CurrentControlSet\Services\VxD\MSTCP\Parameters\Winsock",MaxSockAddrLength,1,10,0,0,0
HKLM,"System\CurrentControlSet\Services\VxD\MSTCP\Parameters\Winsock",MinSockAddrLength,1,10,0,0,0
HKLM,"System\CurrentControlSet\Control\ServiceProvider\Order\ExcludedProviders"
HKLM,"System\CurrentControlSet\Control\ServiceProvider\Order\ProviderOrder",MSTCP,,""
HKLM,"System\CurrentControlSet\Services\VxD\MSTCP\ServiceProvider",LocalPriority,1,f3,01,00,00
HKLM,"System\CurrentControlSet\Services\VxD\MSTCP\ServiceProvider",HostsPriority,1,f4,01,00,00
HKLM,"System\CurrentControlSet\Services\VxD\MSTCP\ServiceProvider",DnsPriority,1,d0,07,00,00
HKLM,"System\CurrentControlSet\Services\VxD\MSTCP\ServiceProvider",NetbtPriority,1,d1,07,00,00
HKLM,"System\CurrentControlSet\Services\VxD\MSTCP\ServiceProvider",Class,1,08,00,00,00
HKLM,"System\CurrentControlSet\Services\VxD\MSTCP\ServiceProvider",ProviderPath,,"%10%\system\wsock32.dll"
HKLM,"System\CurrentControlSet\Services\VxD\MSTCP\Parameters\Winsock",HelperDllName,,"%10%\system\wsock32.dll"
HKLM,"System\CurrentControlSet\Services\Winsock\Parameters",MSTCP,,""
HKR,Ndi\ExecuteAPI\TcpInstall,,,WSCInstallProvider
HKR,Ndi\ExecuteAPI\TcpInstall,GUID,1,E0,7D,01,FF,E9,CA,CF,11,8A,99,00,AA,00,62,C6,09
HKR,Ndi\ExecuteAPI\TcpInstall,Provider,,"%11%\msafd.dll"
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\1,ServiceFlags1,1,66,00,02,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\1,ServiceFlags2,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\1,ServiceFlags3,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\1,ServiceFlags4,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\1,ProviderFlags,1,08,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\1,ChainLen,1,01,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\1,Version,1,01,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\1,AddressFamily,1,02,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\1,MaxSockAddr,1,10,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\1,MinSockAddr,1,10,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\1,SocketType,1,01,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\1,Protocol,1,06,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\1,ProtocolMaxOffset,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\1,NetworkByteOrder,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\1,SecurityScheme,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\1,MessageSize,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\1,ProviderReserved,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\1,ProtocolString,,"MS.w95.spi.tcp"
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\2,ServiceFlags1,1,09,06,02,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\2,ServiceFlags2,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\2,ServiceFlags2,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\2,ServiceFlags3,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\2,ServiceFlags4,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\2,ProviderFlags,1,08,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\2,ChainLen,1,01,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\2,Version,1,01,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\2,AddressFamily,1,02,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\2,MaxSockAddr,1,10,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\2,MinSockAddr,1,10,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\2,SocketType,1,02,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\2,Protocol,1,11,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\2,ProtocolMaxOffset,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\2,NetworkByteOrder,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\2,SecurityScheme,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\2,MessageSize,1,01,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\2,ProviderReserved,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\2,ProtocolString,,"MS.w95.spi.udp"
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\3,ServiceFlags1,1,09,02,02,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\3,ServiceFlags2,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\3,ServiceFlags3,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\3,ServiceFlags4,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\3,ProviderFlags,1,0c,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\3,ChainLen,1,01,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\3,Version,1,01,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\3,AddressFamily,1,02,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\3,MaxSockAddr,1,10,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\3,MinSockAddr,1,10,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\3,SocketType,1,03,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\3,Protocol,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\3,ProtocolMaxOffset,1,FF,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\3,NetworkByteOrder,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\3,SecurityScheme,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\3,MessageSize,1,01,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\3,ProviderReserved,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall\ProtocolInfo\3,ProtocolString,,"MS.w95.spi.raw"
HKR,Ndi\ExecuteAPI\TcpInstall2,,,WSCInstallNameSpace
HKR,Ndi\ExecuteAPI\TcpInstall2,Identifier,,"DNS Name Space Provider."
HKR,Ndi\ExecuteAPI\TcpInstall2,Provider,,"%11%\rnr20.dll"
HKR,Ndi\ExecuteAPI\TcpInstall2,NameSpace,1,0C,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall2,Version,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpInstall2,GUID,1,E2,7D,01,FF,E9,CA,CF,11,8A,99,00,AA,00,62,C6,09

[MSTCPRSVP.Ins.WSock2.AddReg]
HKR,Ndi\ExecuteAPI\TcpRSVPCleanup,,,WSCDeinstallProvider
HKR,Ndi\ExecuteAPI\TcpRSVPCleanup,GUID,1,A0,1A,0F,E7,8B,AB,CF,11,8C,A3,00,80,5F,48,A1,92
HKR,Ndi\ExecuteAPI\TcpRSVPInstall,,,WSCInstallProvider
HKR,Ndi\ExecuteAPI\TcpRSVPInstall,GUID,1,A0,CB,BD,EC,4a,33,d0,11,BD,88,00,00,c0,82,E6,9A
HKR,Ndi\ExecuteAPI\TcpRSVPInstall,Provider,,"%11%\rsvpsp.dll"
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\1,ServiceFlags1,1,66,20,02,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\1,ServiceFlags2,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\1,ServiceFlags3,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\1,ServiceFlags4,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\1,ProviderFlags,1,08,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\1,ChainLen,1,01,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\1,Version,1,01,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\1,AddressFamily,1,02,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\1,MaxSockAddr,1,10,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\1,MinSockAddr,1,10,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\1,SocketType,1,01,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\1,Protocol,1,06,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\1,ProtocolMaxOffset,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\1,NetworkByteOrder,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\1,SecurityScheme,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\1,MessageSize,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\1,ProviderReserved,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\1,ProtocolString,,"MS.w95.spi.rsvptcp"
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\2,ServiceFlags1,1,09,26,02,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\2,ServiceFlags2,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\2,ServiceFlags2,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\2,ServiceFlags3,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\2,ServiceFlags4,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\2,ProviderFlags,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\2,ChainLen,1,01,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\2,Version,1,01,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\2,AddressFamily,1,02,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\2,MaxSockAddr,1,10,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\2,MinSockAddr,1,10,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\2,SocketType,1,02,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\2,Protocol,1,11,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\2,ProtocolMaxOffset,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\2,NetworkByteOrder,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\2,SecurityScheme,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\2,MessageSize,1,01,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\2,ProviderReserved,1,00,00,00,00
HKR,Ndi\ExecuteAPI\TcpRSVPInstall\ProtocolInfo\2,ProtocolString,,"MS.w95.spi.rsvpudp"


[MSTCP.Ins.WSock2.Copy.Sys]
rnr20.dll
msafd.dll
afvxd.vxd
wshtcp.vxd

[MSTCPRSVP.Ins.WSock2.Copy.Sys]
Rsvp.exe
Rapilib.dll
Rsvpsp.dll
Routetab.dll
Qosname.dll

;Executed if WSock1 has been restored or WS2 isn't installed; Section name embeded in ndiproc, don't change
[MSTCP.Install.OldWSock]

; Executed when TCP/IP is installed bound via NDISATM
[Install_ATMARPC]
Copyfiles=Install_ATMARPC.sys

[Install_ATMARPC.sys]
atmarpc.sys

;==============================Remove=====================================================

[MSTCP.Remove]
DelReg=MSTCP.Rmv.DelReg

[MSTCP.Rmv.DelReg]
HKLM,"SYSTEM\CurrentControlSet\Services\VxD\Winsock","TCP/IP Winsock Provider",
HKLM,"SYSTEM\CurrentControlSet\Services\VxD\Winsock","Ancillary Function Driver for Winsock"
HKLM,"SYSTEM\CurrentControlSet\Services\VxD\Winsock2","Ancillary Function Driver for Winsock"
HKLM,"SYSTEM\CurrentControlSet\Services\VxD\AFVXD","MSTCP Helper for Winsock",
HKLM,"System\CurrentControlSet\Control\ServiceProvider\ProviderOrder",MSTCP
HKLM,"System\CurrentControlSet\Services\VxD\MSTCP",ServiceProvider
HKLM,"System\CurrentControlSet\Services\VxD\MSTCP",Parameters
HKLM,"System\CurrentControlSet\Services\Winsock\Parameters",MSTCP

[MSTCP.Remove.WSock2]
AddReg=MSTCP.Remove.WSock2.AddReg,MSTCPRSVP.Remove.WSock2.AddReg

[MSTCP.Remove.WSock2.AddReg]
HKR,Ndi\ExecuteAPI\TcpRemove1,,,WSCDeinstallProvider
HKR,Ndi\ExecuteAPI\TcpRemove1,GUID,1,E0,7D,01,FF,E9,CA,CF,11,8A,99,00,AA,00,62,C6,09
HKR,Ndi\ExecuteAPI\TcpRemove2,,,WSCUnInstallNameSpace
HKR,Ndi\ExecuteAPI\TcpRemove2,GUID,1,E2,7D,01,FF,E9,CA,CF,11,8A,99,00,AA,00,62,C6,09

[MSTCPRSVP.Remove.WSock2.AddReg]
HKR,Ndi\ExecuteAPI\TcpRSVPRemove,,,WSCDeinstallProvider
HKR,Ndi\ExecuteAPI\TcpRSVPRemove,GUID,1,A0,CB,BD,EC,4a,33,d0,11,BD,88,00,00,c0,82,E6,9A

[MSTCP.VnbtOff.Install]
AddReg=MSTCP.VnbtOff.reg

[MSTCP.VnbtOn.Install]
AddReg=MSTCP.VnbtOn.reg

[MSTCP.VnbtOn.reg]
HKR,,DeviceVxDs,,"vtdi.386,vip.386,vtcp.386,vdhcp.386,vnbt.386"

[MSTCP.VnbtOff.reg]
HKR,,DeviceVxDs,,"vtdi.386,vip.386,vtcp.386,vdhcp.386"












;[WSOCK.sys.copyfiles]
;wsock32.dll is copied by netdi directly to deal with chaining issues.
;wsock.vxd
;wsock2.vxd
;ws2thk.dll
;ws2_32.dll
;ws2help.dll
;mswsock.dll
;wsasrv.exe
;wscthunk.dll
;mswsosp.dll

;*********************************************
;WINSOCK2 INSTALL <netdi calls>
;*********************************************
; Note: WSock32.dll and winsock.dll are installed by NetDi code directly to work around chaining issues
[WSock2.Install]
;CopyFiles=WSOCK.sys.copyfiles
AddReg=WSock2.Install.AddReg

[WSock2.Install.AddReg]
HKLM,Software\Microsoft\Windows\CurrentVersion\Setup\NetSetup\QueuedAPI\Item0\1,,,WSCInstallProvider
HKLM,Software\Microsoft\Windows\CurrentVersion\Setup\NetSetup\QueuedAPI\Item0\1,GUID,1,E1,7D,01,FF,E9,CA,CF,11,8A,99,00,AA,00,62,C6,09
HKLM,Software\Microsoft\Windows\CurrentVersion\Setup\NetSetup\QueuedAPI\Item0\1,Provider,,"%11%\mswsosp.dll"
HKLM,Software\Microsoft\Windows\CurrentVersion\Setup\NetSetup\QueuedAPI\Item0\1\ProtocolInfo\1,ServiceFlags1,1,09,06,02,00
HKLM,Software\Microsoft\Windows\CurrentVersion\Setup\NetSetup\QueuedAPI\Item0\1\ProtocolInfo\1,ServiceFlags2,1,00,00,00,00
HKLM,Software\Microsoft\Windows\CurrentVersion\Setup\NetSetup\QueuedAPI\Item0\1\ProtocolInfo\1,ServiceFlags3,1,00,00,00,00
HKLM,Software\Microsoft\Windows\CurrentVersion\Setup\NetSetup\QueuedAPI\Item0\1\ProtocolInfo\1,ServiceFlags4,1,00,00,00,00
HKLM,Software\Microsoft\Windows\CurrentVersion\Setup\NetSetup\QueuedAPI\Item0\1\ProtocolInfo\1,ProviderFlags,1,0c,00,00,00
HKLM,Software\Microsoft\Windows\CurrentVersion\Setup\NetSetup\QueuedAPI\Item0\1\ProtocolInfo\1,ChainLen,1,01,00,00,00
HKLM,Software\Microsoft\Windows\CurrentVersion\Setup\NetSetup\QueuedAPI\Item0\1\ProtocolInfo\1,Version,1,01,00,00,00
HKLM,Software\Microsoft\Windows\CurrentVersion\Setup\NetSetup\QueuedAPI\Item0\1\ProtocolInfo\1,AddressFamily,1,ce,fa,ce,fa
HKLM,Software\Microsoft\Windows\CurrentVersion\Setup\NetSetup\QueuedAPI\Item0\1\ProtocolInfo\1,MaxSockAddr,1,10,00,00,00
HKLM,Software\Microsoft\Windows\CurrentVersion\Setup\NetSetup\QueuedAPI\Item0\1\ProtocolInfo\1,MinSockAddr,1,0E,00,00,00
HKLM,Software\Microsoft\Windows\CurrentVersion\Setup\NetSetup\QueuedAPI\Item0\1\ProtocolInfo\1,SocketType,1,ce,fa,ce,fa
HKLM,Software\Microsoft\Windows\CurrentVersion\Setup\NetSetup\QueuedAPI\Item0\1\ProtocolInfo\1,Protocol,1,ce,fa,ce,fa
HKLM,Software\Microsoft\Windows\CurrentVersion\Setup\NetSetup\QueuedAPI\Item0\1\ProtocolInfo\1,ProtocolMaxOffset,1,00,00,00,00
HKLM,Software\Microsoft\Windows\CurrentVersion\Setup\NetSetup\QueuedAPI\Item0\1\ProtocolInfo\1,NetworkByteOrder,1,00,00,00,00
HKLM,Software\Microsoft\Windows\CurrentVersion\Setup\NetSetup\QueuedAPI\Item0\1\ProtocolInfo\1,SecurityScheme,1,00,00,00,00
HKLM,Software\Microsoft\Windows\CurrentVersion\Setup\NetSetup\QueuedAPI\Item0\1\ProtocolInfo\1,MessageSize,1,40,02,00,00
HKLM,Software\Microsoft\Windows\CurrentVersion\Setup\NetSetup\QueuedAPI\Item0\1\ProtocolInfo\1,ProviderReserved,1,00,00,00,00
HKLM,Software\Microsoft\Windows\CurrentVersion\Setup\NetSetup\QueuedAPI\Item0\1\ProtocolInfo\1,ProtocolString,,"MS.w95.spi.osp"

;*********************************************
;WINSOCK2 FORCE INSTALL <netdi calls>
;*********************************************
[WSock2.ForceInstall]
; Called in additon to WSock2.Install when user chooses to force WSOCK2 to be installed
CopyFiles=Wsock2Force.sys.copy,WSock2Force.win.copy
DelFiles=WSock2Force.sys.delfile

[WSock2Force.addreg]
HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,"@NetDi_RegFlush",,"FlushRegistry"
HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,NetSetup,,"rundll.exe netdi.dll,FirstBootCall"
[WSock2Force.sys.copy]
wsock32.dll
[WSock2Force.win.copy]
winsock.dll
[WSock2Force.sys.delfile]
winsock.dll

;*********************************************
;WINSOCK BACKUP
;*********************************************
; Executed first time setting up over Winsock 1.X
[WSock.Backup]
BackupFile=%11%\owsock.vxo,%11%\wsock.vxd
BackupFile=%11%\oafvxd.vxo,%11%\afvxd.vxd
BackupFile=%11%\owshtcp.vxo,%11%\wshtcp.vxd
BackupFile=%11%\owsipx.vxo,%11%\wsipx.vxd
BackupFile=%11%\owsock32.dlo,%11%\wsock32.dll
BackupFile=%11%\owsasrv.exo,%11%\wsasrv.exe
BackupFile=%25%\owinsoc.dlo,%25%\winsock.dll
BackupFile=%11%\owinsoc.dlo,%11%\winsock.dll
BackupFile=%25%\osnmpapi.dlo,%25%\snmpapi.dll

; Netdi calls this directly
[WSock.SetupRestoreAdd]
AddReg=WSock.SetupRestoreAdd.reg

[WSock.SetupRestoreAdd.reg]
HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\MSWinsock",DisplayName,,"Restore Winsock 1.1 Configuration"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\MSWinsock",UninstallString,,"rundll.exe netdi.dll,RestoreWSock"

;*********************************************
;WINSOCK RESTORE
;*********************************************
; Executed if necessary to restore Winsock 1.X
[WSock.Restore]
DelReg=WSock.RemoveRestoreOption
UpdateInis=WSock.Restore.DelFiles
RestoreFile=%11%\wsock.vxd,%11%\owsock.vxo
RestoreFile=%11%\afvxd.vxd,%11%\oafvxd.vxo
RestoreFile=%11%\wshtcp.vxd,%11%\owshtcp.vxo
RestoreFile=%11%\wsipx.vxd,%11%\owsipx.vxo
RestoreFile=%11%\wsock32.dll,%11%\owsock32.dlo
RestoreFile=%25%\winsock.dll,%25%\owinsoc.dlo
RestoreFile=%11%\wsasrv.exe,%11%\owsasrv.exo
RestoreFile=%25%\snmpapi.dll,%25%\osnmpapi.dlo

[WSock.Restore.DelFiles]
wininit.ini,Rename,,"NUL=%11%\WS2_32.dll",1

[WSock.RemoveRestoreOption]
HKLM,"Software\Microsoft\Windows\CurrentVersion\Uninstall\MSWinsock"

[WSock.DoUninstallSave]
;This section is never executed, but is necessary for uninstall to work
CopyFiles=WSock.DoUninstallSaveCopy

[WSock.DoUninstallSaveCopy]
_msrws32.dll



[FASTIR.ndi]
AddReg=FASTIR.ndi.reg
DeviceID=FASTIR
MaxInstance=1

[FASTIR.ndi.reg]
HKR,Ndi,DeviceID,,FASTIR
HKR,Ndi,MaxInstance,,1
HKR,Ndi,NetType,,1
HKR,NDIS,LogDriverName,,FASTIR
HKR,NDIS,MajorNdisVersion,1,04
HKR,NDIS,MinorNdisVersion,1,00
HKR,Ndi\Interfaces,DefLower,,"ndis3"
HKR,Ndi\Interfaces,LowerRange,,"ndis3"
HKR,Ndi\Install,,,"FASTIR.Install"
;HKR,Ndi\Remove,,,"FASTIR.Remove"
HKR,Ndi,HelpText,,"The Fast Infrared Protocol allows communication via an NDIS 4.0 infrared miniport driver."
HKR,Ndi,NdiInstaller,,"ir_ndi.dll,FASTIR_NdiProc"

[FASTIR.Install]
AddReg=FASTIR.AddReg
CopyFiles=FASTIR.CopyFiles

[FASTIR.AddReg]
HKR,,DevLoader,,*ndis
HKR,,DeviceVxDs,,fastir.vxd

[FASTIR.CopyFiles]
fastir.vxd

[FASTIR.Remove]





[DestinationDirs]
DefaultDestDir=11
MSTCP.CopyFiles.win=25
WSock2Force.win.copy=25




