windows-nt/Source/XPSP1/NT/net/tdi/sample/net_tdic.inf
2020-09-26 16:20:57 +08:00

89 lines
2.6 KiB
INI

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