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.
 
 
 
 
 
 

83 lines
2.9 KiB

; Copyright (c) Microsoft Corporation. All rights reserved.
[Version]
Signature = "$Windows NT$"
Class = NetTrans
ClassGUID = {4d36e975-e325-11ce-bfc1-08002be10318}
Provider = %Msft%
[Manufacturer]
%Msft%=MSFT
[MSFT]
%NetBEUI_Desc%=Install, MS_NetBEUI
;-------------------------------------------------------------------------
; Installation Section
;-------------------------------------------------------------------------
[Install]
AddReg=Inst_Ndi
Characteristics=0x00
;CopyFiles=CpyFiles_Sys
;-------------------------------------------------------------------------
; Ndi installation support
;-------------------------------------------------------------------------
[Inst_Ndi]
HKR,"Ndi","ClsID",,"{a28d553a-a703-11d0-9cec-00c04fc9bcc4}"
HKR,"Ndi","Service",,"Nbf"
HKR,"Ndi","CoServices",%REG_MULTI_SZ%,"Nbf"
HKR,"Ndi","HelpText",,"@netcfgx.dll,-50011"
HKR,"Ndi\Interfaces","UpperRange",,"netbios"
HKR,"Ndi\Interfaces","LowerRange",,"ndis5,ndis4,ndiswannbf,ndis5_nbf"
;-------------------------------------------------------------------------
; Service installation support
;-------------------------------------------------------------------------
[Install.Services]
AddService=Nbf,,NetBEUI_Service_Inst
[NetBEUI_Service_Inst]
DisplayName = %NetBEUI_Desc%
ServiceType = 1 ;SERVICE_KERNEL_DRIVER
StartType = 2 ;SERVICE_AUTO_START
ErrorControl = 1 ;SERVICE_ERROR_NORMAL
ServiceBinary = %12%\nbf.sys
LoadOrderGroup = "PNP_TDI"
AddReg = AddReg_NetBEUI_Service_Inst
Description = %NetBEUI_Desc%
[AddReg_NetBEUI_Service_Inst]
HKR,"Parameters","NbProvider",,"_nb"
HKR,"Performance","Library",,"perfctrs.dll"
HKR,"Performance","Open",,"OpenNbfPerformanceData"
HKR,"Performance","Close",,"CloseNbfPerformanceData"
HKR,"Performance","Collect",,"CollectNbfPerformanceData"
;-------------------------------------------------------------------------
; Support for removal of static registry settings
;-------------------------------------------------------------------------
[Install.Remove]
DelReg=Del_Static_Reg
[Install.Remove.Services]
DelService=Nbf
[Del_Static_Reg]
HKLM,"Software\Microsoft\Rpc\Protocols","ncacn_nb_nb"
HKLM,"Software\Microsoft\Rpc\ClientProtocols","ncacn_nb_nb"
@@:@6:HKLM,"Software\Wow6432Node\Microsoft\Rpc\ClientProtocols","ncacn_nb_nb"
;-------------------------------------------------------------------------
; Declare Destination Directories for file copy/deletion
;-------------------------------------------------------------------------
;[DestinationDirs]
;CpyFiles_Sys = 12 ; DIRID_DRIVERS
;CpyFiles_Inst = 11 ; System32
;-------------------------------------------------------------------------
; Files to Copy/Delete - Referenced by Install and Remove sections above
;-------------------------------------------------------------------------
;[CpyFiles_Sys]
;nbf.sys,,,2