Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

310 lines
13 KiB

;-------------------------------------------------------------------------
; NWLINK IPX/SPX -- Microsoft NWLink Services
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;-------------------------------------------------------------------------
[Version]
Signature = "$Windows NT$"
Class = NetTrans
ClassGUID = {4d36e975-e325-11ce-bfc1-08002be10318}
Provider = %Msft%
LayoutFile = layout.inf
[Manufacturer]
%Msft%=MSFT
[MSFT]
%NwlnkIpx_Desc%=Install_Ipx, MS_NWIPX
%NwlnkNb_Desc%=Install_Nb, MS_NWNB
%NwlnkSpx_Desc%=Install_Spx, MS_NWSPX
[ControlFlags]
ExcludeFromSelect=MS_NWNB,MS_NWSPX
;=========================================================================
; NWLINK IPX Section
;=========================================================================
;-------------------------------------------------------------------------
; Base Entry Point for NWLINK IPX Installation
;-------------------------------------------------------------------------
[Install_Ipx]
Characteristics=0x80 ; NCF_HAS_UI
AddReg=Inst_Ndi_Ipx ; Specify the [N]etwork [d]evice [i]nstaller
;-------------------------------------------------------------------------
; Specify the Network Device Installer
;-------------------------------------------------------------------------
[Inst_Ndi_Ipx]
HKR, Ndi, ClsID,,"{c59938da-9b20-11d0-9ce3-00c04fc9bcc4}"
HKR, Ndi, Service,,"NwlnkIpx"
HKR, Ndi, CoServices,0x10000,"NwlnkIpx","NwlnkNb","NwlnkSpx"
HKR, Ndi, HelpText,,"@netcfgx.dll,-50013"
HKR, Ndi\Interfaces, UpperRange,,"ipx"
HKR, Ndi\Interfaces, LowerRange,,"ndis5,ndis4,ndiswanipx,ndis5_ipx"
;-------------------------------------------------------------------------
; Base Entry Point for NWLINK IPX Service Installation
;-------------------------------------------------------------------------
[Install_Ipx.Services]
AddService=NwlnkIpx,,NwlnkIpx_Service_Inst
;-------------------------------------------------------------------------
; Entry Point for the NWLINK IPX Service's SNMP Dependency Installation
; IPX SNMP is not supported for .NET server and beyond.
;-------------------------------------------------------------------------
;-------------------------------------------------------------------------
; Entry Point for the NWLINK IPX Service's Winsock Dependency Installation
;-------------------------------------------------------------------------
[Install_Ipx.Winsock]
AddSock=Inst_Ipx_Winsock_Dependency
[Inst_Ipx_Winsock_Dependency]
TransportService=nwlnkipx
HelperDllName="%SystemRoot%\System32\wshisn.dll"
MaxSockAddrLength=0x10
MinSockAddrLength=0xe
LibraryPath="%SystemRoot%\System32\nwprovau.dll"
DisplayString=%NwlnkIpx_Desc%
SupportedNameSpace=1
Version=1
ProviderId="{e02daaf0-7e9f-11cf-ae5a-00aa00a7112b}"
;-------------------------------------------------------------------------
; IPX Service Definitions and Settings
;-------------------------------------------------------------------------
[NwlnkIpx_Service_Inst]
DisplayName=%NwlnkIpx_Desc%
ServiceType=1
StartType=2
ErrorControl=1
ServiceBinary=%12%\nwlnkipx.sys
LoadOrderGroup="PNP_TDI"
AddReg=AddReg_NwlnkIpx_Service_Inst
Description=%NwlnkIpx_Desc%
;-------------------------------------------------------------------------
; IPX Service Installation Registry Settings
;-------------------------------------------------------------------------
[AddReg_NwlnkIpx_Service_Inst]
HKLM,"System\CurrentControlSet\Control\ServiceProvider\Order","ExcludedProviders",0x2,""
HKLM,"System\CurrentControlSet\Control\ServiceProvider\Order","ProviderOrder",0x1000A,"NwlnkIpx"
HKR,"ServiceProvider","Class",0x10001,0x8
HKR,"ServiceProvider","Name",,%NwlnkIpx_Desc%
HKR,"ServiceProvider","ProviderPath",0x20000,"%SystemRoot%\System32\nwprovau.dll"
HKR,"Performance","Library",,"perfctrs.dll"
HKR,"Performance","Open",,"OpenIPXPerformanceData"
HKR,"Performance","Close",,"CloseIPXPerformanceData"
HKR,"Performance","Collect",,"CollectIPXPerformanceData";
HKLM,"System\CurrentControlSet\Services\EventLog\System\NwlnkIpx","EventMessageFile",0x20000,"%%SystemRoot%%\system32\netevent.dll"
HKLM,"System\CurrentControlSet\Services\EventLog\System\NwlnkIpx","TypesSupported",0x10001, 0x00000007
@w:HKR,"Parameters","RipRoute",0x10001,0x0
@s:HKR,"Parameters","RipRoute",0x10001,0x1
;-------------------------------------------------------------------------
; Section for driving removal of static IPX registry settings
;-------------------------------------------------------------------------
[Install_Ipx.Remove]
DelReg=DelReg_Remove_Static_Ipx
[Install_Ipx.Remove.Services]
DelService=NwlnkIpx
;-------------------------------------------------------------------------
; Entry Point for the NWLINK IPX Service's Winsock Dependency removal
;-------------------------------------------------------------------------
[Install_Ipx.Remove.Winsock]
DelSock=Del_Ipx_Winsock_Dependency
[Del_Ipx_Winsock_Dependency]
TransportService=nwlnkipx
ProviderId="{e02daaf0-7e9f-11cf-ae5a-00aa00a7112b}"
;-------------------------------------------------------------------------
; Specify IPX static registry entries to remove
;-------------------------------------------------------------------------
[DelReg_Remove_Static_Ipx]
HKLM,"Software\Microsoft\Rpc\Protocols","ncacn_nb_ipx"
HKLM,"Software\Microsoft\Rpc\ClientProtocols","ncacn_nb_ipx"
@@:@6:HKLM,"Software\Wow6432Node\Microsoft\Rpc\ClientProtocols","ncacn_nb_ipx"
HKLM,"System\CurrentControlSet\Services\EventLog\System\NwlnkIpx"
;=========================================================================
; NWLINK NetBIOS Section
;=========================================================================
;-------------------------------------------------------------------------
; Base Entry Point for NWLINK NetBIOS Installation
;-------------------------------------------------------------------------
[Install_Nb]
Characteristics=0x2020 ; NCF_HIDE_BINDING | NCF_NOT_USER_REMOVABLE
AddReg=Inst_Ndi_Nb
;-------------------------------------------------------------------------
; Specify the Network Device Installer
;-------------------------------------------------------------------------
[Inst_Ndi_Nb]
HKR,Ndi,ClsID,,"{050da15f-9f13-11d0-9ce5-00c04fc9bcc4}"
HKR,Ndi,Service,,"NwlnkNb"
HKR,Ndi,HelpText,,"@netcfgx.dll,-50014"
HKR,Ndi\Interfaces,UpperRange,,"netbios"
HKR,Ndi\Interfaces,LowerRange,,"ipx"
;-------------------------------------------------------------------------
; Base Entry Point for NWLINK NetBIOS Service Installation
;-------------------------------------------------------------------------
[Install_Nb.Services]
AddService=NwlnkNb,,NwlnkNb_Service_Inst
;-------------------------------------------------------------------------
; NetBIOS Service Definitions and Settings
;-------------------------------------------------------------------------
[NwlnkNb_Service_Inst]
DisplayName=%NwlnkNb_Desc%
ServiceType=1
StartType=2
ErrorControl=1
ServiceBinary=%12%\nwlnknb.sys
LoadOrderGroup="PNP_TDI"
AddReg=AddReg_NwlnkNb_Service_Inst
Description=%NwlnkNb_Desc%
;-------------------------------------------------------------------------
; NetBios Service Installation Registry Settings
;-------------------------------------------------------------------------
[AddReg_NwlnkNb_Service_Inst]
HKR,"Parameters","NbProvider",,"_ipx"
HKR,"Parameters","KeepaliveTimeout",0x10001,60
HKR,"Parameters","KeepaliveCount",0x10001,8
HKR,"Parameters","ConnectionTimeout",0x10001,2
HKR,"Parameters","ConnectionCount",0x10001,5
HKR,"Parameters","BroadcastCount",0x10001,3
HKR,"Parameters","Internet",0x10001,1
HKR,"Performance","Library",,"perfctrs.dll"
HKR,"Performance","Open",,"OpenNWNBPerformanceData"
HKR,"Performance","Close",,"CloseNWNBPerformanceData"
HKR,"Performance","Collect",,"CollectNWNBPerformanceData"
;-------------------------------------------------------------------------
; Section for driving removal of static NetBios registry settings
; and the deletion of the NetBios service
;-------------------------------------------------------------------------
[Install_Nb.Remove]
DelReg=DelReg_Remove_Static_Nb
[Install_Nb.Remove.Services]
DelService=NwlnkNb
;-------------------------------------------------------------------------
; Specify NetBios static registry entries to remove
;-------------------------------------------------------------------------
[DelReg_Remove_Static_Nb]
;=========================================================================
; NWLINK SPX Section
;=========================================================================
;-------------------------------------------------------------------------
; Base Entry Point for NWLINK SPX Installation
;-------------------------------------------------------------------------
[Install_Spx]
Characteristics=0x2028 ; NCF_HIDDEN | NCF_HIDE_BINDING | NCF_NOT_USER_REMOVABLE
AddReg=Inst_Ndi_Spx
;-------------------------------------------------------------------------
; Specify the Network Device Installer
;-------------------------------------------------------------------------
[Inst_Ndi_Spx]
HKR,Ndi,Service,,"NwlnkSpx"
HKR,Ndi,HelpText,,"%NwlnkSpx_HelpText%"
HKR,Ndi\Interfaces,UpperRange,,"spx"
HKR,Ndi\Interfaces,LowerRange,,"ipx"
;-------------------------------------------------------------------------
; Base Entry Point for NWLINK SPX Service Installation
;-------------------------------------------------------------------------
[Install_Spx.Services]
AddService=NwlnkSpx,,NwlnkSpx_Service_Inst
;-------------------------------------------------------------------------
; Entry Point for the NWLINK IPX Service's Winsock Dependency Installation
;-------------------------------------------------------------------------
[Install_Spx.Winsock]
AddSock=Inst_Spx_Winsock_Dependency
[Inst_Spx_Winsock_Dependency]
TransportService=nwlnkspx
HelperDllName="%SystemRoot%\System32\wshisn.dll"
MaxSockAddrLength=0x10
MinSockAddrLength=0xe
;-------------------------------------------------------------------------
; SPX Service Definitions and Settings
;-------------------------------------------------------------------------
[NwlnkSpx_Service_Inst]
DisplayName=%NwlnkSpx_Desc%
ServiceType=1
StartType=2
ErrorControl=1
ServiceBinary=%12%\nwlnkspx.sys
AddReg=AddReg_NwlnkSpx_Service_Inst
Description=%NwlnkSpx_Desc%
;-------------------------------------------------------------------------
; SPX Service Installation Registry Settings
;-------------------------------------------------------------------------
[AddReg_NwlnkSpx_Service_Inst]
HKLM,"Software\Microsoft\Rpc\ClientProtocols","ncacn_spx",,"rpcrt4.dll"
@@:@6:HKLM,"Software\Wow6432Node\Microsoft\Rpc\ClientProtocols","ncacn_spx",,"rpcrt4.dll"
HKR,"Parameters","ConnectionCount",0x10001,5
HKR,"Parameters","ConnectionTimeout",0x10001,2
HKR,"Parameters","InitPackets",0x10001,5
HKR,"Parameters","MaxPackets",0x10001,48
HKR,"Parameters","InitialRetransmissionTime",0x10001,500
HKR,"Parameters","KeepaliveCount",0x10001,8
HKR,"Parameters","WindowSize",0x10001,4
HKR,"Parameters","SpxSocketRangeStart",0x10001,24576
HKR,"Parameters","SpxSocketRangeEnd",0x10001,32767
HKR,"Parameters","SpxSocketUniqueness",0x10001,1
HKR,"Parameters","MaxPacketSize",0x10001,4096
HKR,"Parameters","RetransmissionCount",0x10001,8
HKR,"Parameters","KeepAliveTimeout",0x10001,12
HKR,"Performance","Library",,"perfctrs.dll"
HKR,"Performance","Open",,"OpenSPXPerformanceData"
HKR,"Performance","Close",,"CloseSPXPerformanceData"
HKR,"Performance","Collect",,"CollectSPXPerformanceData"
;-------------------------------------------------------------------------
; Section for driving removal of static SPX registry settings
; and the deletion of the SPX service
;-------------------------------------------------------------------------
[Install_Spx.Remove]
DelReg=DelReg_Remove_Static_Spx
[Install_Spx.Remove.Services]
DelService=NwlnkSpx
;-------------------------------------------------------------------------
; Entry Point for the NWLINK IPX Service's Winsock Dependency removal
;-------------------------------------------------------------------------
[Install_Spx.Remove.Winsock]
DelSock=Del_Spx_Winsock_Dependency
[Del_Spx_Winsock_Dependency]
TransportService=nwlnkspx
;-------------------------------------------------------------------------
; Specify SPX static registry entries to remove
;-------------------------------------------------------------------------
[DelReg_Remove_Static_Spx]
HKLM,"Software\Microsoft\Rpc\Protocols","ncadg_ipx"
HKLM,"Software\Microsoft\Rpc\ClientProtocols","ncadg_ipx"
@@:@6:HKLM,"Software\Wow6432Node\Microsoft\Rpc\ClientProtocols","ncadg_ipx"
HKLM,"Software\Microsoft\Rpc\Protocols","ncacn_spx"
HKLM,"Software\Microsoft\Rpc\ClientProtocols","ncacn_spx"
@@:@6:HKLM,"Software\Wow6432Node\Microsoft\Rpc\ClientProtocols","ncacn_spx"