mirror of https://github.com/tongzx/nt5src
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.
88 lines
2.6 KiB
88 lines
2.6 KiB
;-------------------------------------------------------------------------
|
|
; NET_TDIC.INF -- Tdi Client Sample Driver
|
|
;
|
|
; Copyright (c) 2001, Microsoft Corporation
|
|
;-------------------------------------------------------------------------
|
|
|
|
[version]
|
|
Signature = $Windows NT$
|
|
Class = NetService
|
|
Provider = %Msft%
|
|
ClassGuid = {4D36E974-E325-11CE-BFC1-08002BE10318}
|
|
DriverVer = 04/27/2001, 2.05.01.001
|
|
|
|
[Manufacturer]
|
|
%Msft%=MSFT
|
|
|
|
[MSFT]
|
|
%TdiClient_Desc%=TdiClient.ndi, MS_TDICLI
|
|
|
|
;-------------------------------------------------------------------------
|
|
; Installation Section
|
|
;-------------------------------------------------------------------------
|
|
|
|
[TdiClient.ndi]
|
|
Characteristics=0x28 ; NCF_HIDDEN | NCF_NOT_USER_REMOVABLE
|
|
CopyFiles=TdiClient.copyfiles.sys, TdiClient.copyfiles.tst
|
|
AddReg = TdiClient.AddReg
|
|
|
|
;-------------------------------------------------------------------------
|
|
; Ndi installation support
|
|
;-------------------------------------------------------------------------
|
|
|
|
[TdiClient.AddReg]
|
|
HKR,Ndi,Service,,"TdiSample"
|
|
HKR,Ndi,HelpText,,%TdiClient_HelpText%
|
|
HKR,Ndi\Interfaces, UpperRange, 0, "noupper"
|
|
HKR,Ndi\Interfaces, LowerRange, 0, "netbios, ipx, tdi"
|
|
|
|
;-------------------------------------------------------------------------
|
|
; Service installation support
|
|
;-------------------------------------------------------------------------
|
|
|
|
[TdiClient.ndi.Services]
|
|
AddService=TdiSample,,TdiClient.Service.Add
|
|
|
|
[TdiClient.Service.Add]
|
|
DisplayName = %TdiClient_Desc%
|
|
ServiceType = 1 ;SERVICE_KERNEL_DRIVER
|
|
StartType = 3 ;SERVICE_MANUAL_START
|
|
ErrorControl = 1 ;SERVICE_ERROR_NORMAL
|
|
ServiceBinary = %12%\tdisample.sys
|
|
Description = %TdiClient_Desc%
|
|
|
|
|
|
;-------------------------------------------------------------------------
|
|
; Declare Destination Directories for file copy/deletion
|
|
;-------------------------------------------------------------------------
|
|
|
|
[SourceDisksNames]
|
|
1=%DiskDescription%,"",,
|
|
|
|
[SourceDisksFiles]
|
|
tdisamp.exe=1
|
|
tdisample.sys=1
|
|
|
|
[DestinationDirs]
|
|
TdiClient.copyfiles.Sys = 12 ; %windir%\system32\drivers
|
|
TdiClient.copyfiles.tst = 11 ; %windir%\system32
|
|
|
|
;-------------------------------------------------------------------------
|
|
; Files to Copy/Delete - Referenced by Install and Remove sections above
|
|
;-------------------------------------------------------------------------
|
|
|
|
[TdiClient.copyfiles.sys]
|
|
TdiSample.sys,,,2
|
|
|
|
[TdiClient.copyfiles.tst]
|
|
TdiSamp.exe,,,2
|
|
|
|
[Strings]
|
|
Msft = "Microsoft"
|
|
TdiClient_Desc = "Tdi Client Sample Driver"
|
|
TdiClient_HelpText = "A driver to illustrate components of a Tdi client"
|
|
DiskDescription = "Microsoft Tdiclient Sample Driver Disk"
|
|
|
|
|
|
|
|
|