This repo is obsolete, please see git://git.code.sf.net/p/dummynet/code@master
[ipfw.git] / original_passthru / netsf.inf
1 ; -- NETSF.INF --\r
2 ;\r
3 ; Passthru driver INF file - this is the INF for the service (protocol)\r
4 ; part.\r
5 ;\r
6 ; Copyright (c) 1993-2001, Microsoft Corporation\r
7 ;\r
8 ; ----------------------------------------------------------------------\r
9 ; Notes:\r
10 ; 0. The term "filter" is used in this INF to refer to an NDIS IM driver that\r
11 ;    implements a 1:1 relationship between upper and lower bindings.\r
12 ;\r
13 ; 1. Items specifically required for a filter have been marked with\r
14 ;    "!!--Filter Specific--!!" keyword\r
15 ; 2. In general a filter DOES NOT require a notify object for proper installation.\r
16 ;    A notify object is only required if one wants to have better control\r
17 ;    over binding operations or if one wants to receive notifications\r
18 ;    when other components get installed/removed/bound/unbound.\r
19 ;    Since Windows 2000 systems do not have support for CopyINF directive,\r
20 ;    a notify object is required to programmatically copy the miniport INF  \r
21 ;    file to the system INF directory. Previous versions of this INF file\r
22 ;    erroneously used to copy the INF files directly by using the CopyFiles \r
23 ;    directive.\r
24 ;    On Windows XP, you can install a filter IM without a notify object.\r
25 ;    by following the instructions in (4).\r
26 ;\r
27 ; 3. If you want to use this INF file with your own IM driver, please\r
28 ;    make the following modifications:\r
29 ;    File netsf.inf\r
30 ;    --------------\r
31 ;    a. In section [SourceDiskFiles] and [Passthru.Files.Sys]\r
32 ;       change passthru.sys to the name of your own driver binary.\r
33 ;    b. In section [Passthru.ndi.AddReg], change values of\r
34 ;       BindForm and MiniportId to appropriate values.\r
35 ;    File netsf_m.inf\r
36 ;    ----------------\r
37 ;    a. Replace MS_PassthruMP with InfId of your miniport.\r
38 ;    b. In section [PassthruMP.AddService],\r
39 ;       change ServiceBinary appropriately.\r
40 ;    c. In section [PassthruMP.ndi.AddReg],\r
41 ;       change "Passthru" in the line having "Service"\r
42 ;       to reflect the appropriate name\r
43 ;\r
44 ;\r
45 ; ----------------------------------------------------------------------\r
46 \r
47 [Version]\r
48 Signature  = "$Windows NT$"\r
49 Class      = NetService\r
50 ClassGUID  = {4D36E974-E325-11CE-BFC1-08002BE10318}\r
51 Provider   = %Msft%\r
52 DriverVer  =10/01/2002,6.0.5019.0\r
53 \r
54 [Manufacturer]\r
55 %Msft% = MSFT,NTx86,NTia64,NTamd64\r
56 \r
57 [ControlFlags]\r
58 \r
59 ;=========================================================================\r
60 ;\r
61 ;=========================================================================\r
62 ;For Win2K\r
63 \r
64 [MSFT]\r
65 %Passthru_Desc% = Passthru.ndi, ms_passthru\r
66  \r
67 ;For WinXP and later\r
68 \r
69 [MSFT.NTx86]\r
70 %Passthru_Desc% = Passthru.ndi, ms_passthru\r
71 \r
72 [MSFT.NTia64]\r
73 %Passthru_Desc% = Passthru.ndi, ms_passthru\r
74 \r
75 [MSFT.NTamd64]\r
76 %Passthru_Desc% = Passthru.ndi, ms_passthru\r
77 \r
78 \r
79 [Passthru.ndi]\r
80 AddReg          = Passthru.ndi.AddReg, Passthru.AddReg\r
81 Characteristics = 0x4410 ;  NCF_FILTER | NCF_NDIS_PROTOCOL !--Filter Specific--!!\r
82 CopyFiles       = Passthru.Files.Sys\r
83 CopyInf         = netsf_m.inf\r
84 \r
85 [Passthru.ndi.Remove]\r
86 DelFiles = Passthru.Files.Sys\r
87 \r
88 [Passthru.ndi.Services]\r
89 AddService = Passthru,, Passthru.AddService\r
90 \r
91 [Passthru.AddService]\r
92 DisplayName    = %PassthruService_Desc%\r
93 ServiceType    = 1 ;SERVICE_KERNEL_DRIVER\r
94 StartType      = 3 ;SERVICE_DEMAND_START\r
95 ErrorControl   = 1 ;SERVICE_ERROR_NORMAL\r
96 ServiceBinary  = %12%\passthru.sys\r
97 AddReg         = Passthru.AddService.AddReg\r
98 \r
99 \r
100 [Passthru.AddService.AddReg]\r
101 ; ----------------------------------------------------------------------\r
102 ; Add any miniport-specific parameters here.  These are params that your\r
103 ; filter device is going to use.\r
104 ;\r
105 ;HKR, Parameters, ParameterName,  0x10000, "MultiSz", "Parameter", "Value"\r
106 ;HKR, Parameters, ParameterName2, 0x10001, 4\r
107 \r
108 \r
109 ; ----------------------------------------------------------------------\r
110 ; File copy\r
111 ;\r
112 [SourceDisksNames]\r
113 1=%DiskDescription%,"",,\r
114 \r
115 [SourceDisksFiles]\r
116 passthru.sys=1\r
117 \r
118 [DestinationDirs]\r
119 DefaultDestDir = 12\r
120 Passthru.Files.Sys   = 12   ; %windir%\System32\drivers\r
121 \r
122 [Passthru.Files.Sys]\r
123 passthru.sys,,,2\r
124 \r
125 ; ----------------------------------------------------------------------\r
126 ; Filter Install\r
127 ;\r
128 \r
129 [Passthru.ndi.AddReg]\r
130 HKR, Ndi, HelpText, , %Passthru_HELP%\r
131 \r
132 ; ----------------------------------------------------------------------\r
133 ; !!--Filter Specific--!!\r
134 ;\r
135 ; Note:\r
136 ; 1. Other components may also have UpperRange/LowerRange but for filters\r
137 ;    the value of both of them must be noupper/nolower\r
138 ; 2. The value FilterClass is required.\r
139 ; 3. The value Service is required\r
140 ; 4. FilterDeviceInfId is the InfId of the filter device (miniport) that will\r
141 ;    be installed for each filtered adapter.\r
142 ;    In this case this is ms_passthrump (refer to netsf_m.inf)\r
143 ;\r
144 HKR, Ndi,            FilterClass,         , failover\r
145 HKR, Ndi,            FilterDeviceInfId,   , ms_passthrump\r
146 HKR, Ndi,            Service,             , Passthru\r
147 HKR, Ndi\Interfaces, UpperRange,          , noupper\r
148 HKR, Ndi\Interfaces, LowerRange,          , nolower\r
149 HKR, Ndi\Interfaces, FilterMediaTypes,    , "ethernet, tokenring, fddi, wan"\r
150 \r
151 [Passthru.AddReg]\r
152 ; The following key is Required\r
153 ; The following key is Passthru specific\r
154 HKR, Parameters, Param1, 0, 4\r
155 \r
156 ; ----------------------------------------------------------------------\r
157 [Strings]\r
158 Msft = "Microsoft"\r
159 DiskDescription = "Microsoft Passthru Driver Disk"\r
160 \r
161 Passthru_Desc = "Passthru Driver"\r
162 Passthru_HELP = "Passthru Driver"\r
163 PassthruService_Desc = "Passthru Service"\r
164 \r
165 \r