|
| 1 | +; Automatically generated by OpenVPN Windows build system |
| 2 | + |
| 3 | +; **************************************************************************** |
| 4 | +; * Copyright (C) 2002-2010 OpenVPN Technologies, Inc. * |
| 5 | +; * This program is free software; you can redistribute it and/or modify * |
| 6 | +; * it under the terms of the GNU General Public License version 2 * |
| 7 | +; * as published by the Free Software Foundation. * |
| 8 | +; **************************************************************************** |
| 9 | + |
| 10 | +; SYNTAX CHECKER |
| 11 | +; cd \WINDDK\3790\tools\chkinf |
| 12 | +; chkinf c:\src\openvpn\tap-win32\i386\oemwin2k.inf |
| 13 | +; OUTPUT -> file:///c:/WINDDK/3790/tools/chkinf/htm/c%23+src+openvpn+tap-win32+i386+__OemWin2k.htm |
| 14 | + |
| 15 | +; INSTALL/REMOVE DRIVER |
| 16 | +; tapinstall install OemWin2k.inf TAP0901 |
| 17 | +; tapinstall update OemWin2k.inf TAP0901 |
| 18 | +; tapinstall remove TAP0901 |
| 19 | + |
| 20 | +;********************************************************* |
| 21 | +; Note to Developers: |
| 22 | +; |
| 23 | +; If you are bundling the TAP-Win32 driver with your app, |
| 24 | +; you should try to rename it in such a way that it will |
| 25 | +; not collide with other instances of TAP-Win32 defined |
| 26 | +; by other apps. Multiple versions of the TAP-Win32 |
| 27 | +; driver, each installed by different apps, can coexist |
| 28 | +; on the same machine if you follow these guidelines. |
| 29 | +; NOTE: these instructions assume you are editing the |
| 30 | +; generated OemWin2k.inf file, not the source |
| 31 | +; OemWin2k.inf.in file which is preprocessed by winconfig |
| 32 | +; and uses macro definitions from settings.in. |
| 33 | +; |
| 34 | +; (1) Rename all tapXXXX instances in this file to |
| 35 | +; something different (use at least 5 characters |
| 36 | +; for this name!) |
| 37 | +; (2) Change the "!define TAP" definition in openvpn.nsi |
| 38 | +; to match what you changed tapXXXX to. |
| 39 | +; (3) Change TARGETNAME in SOURCES to match what you |
| 40 | +; changed tapXXXX to. |
| 41 | +; (4) Change TAP_COMPONENT_ID in common.h to match what |
| 42 | +; you changed tapXXXX to. |
| 43 | +; (5) Change SZDEPENDENCIES in service.h to match what |
| 44 | +; you changed tapXXXX to. |
| 45 | +; (6) Change DeviceDescription and Provider strings. |
| 46 | +; (7) Change PRODUCT_STRING in constants.h to what you |
| 47 | +; set DeviceDescription to. |
| 48 | +; |
| 49 | +;********************************************************* |
| 50 | + |
| 51 | +[Version] |
| 52 | + Signature = "$Windows NT$" |
| 53 | + CatalogFile = tap0901.cat |
| 54 | + ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318} |
| 55 | + Provider = %Provider% |
| 56 | + Class = Net |
| 57 | + |
| 58 | +; This version number should match the version |
| 59 | +; number given in SOURCES. |
| 60 | + DriverVer=04/19/2010,9.00.00.9 |
| 61 | + |
| 62 | +[Strings] |
| 63 | + DeviceDescription = "TAP-Win32 Adapter V9" |
| 64 | + Provider = "TAP-Win32 Provider V9" |
| 65 | + |
| 66 | +;---------------------------------------------------------------- |
| 67 | +; Manufacturer + Product Section (Done) |
| 68 | +;---------------------------------------------------------------- |
| 69 | +[Manufacturer] |
| 70 | + %Provider% = tap0901, NTamd64 |
| 71 | + |
| 72 | +[tap0901.NTamd64] |
| 73 | + %DeviceDescription% = tap0901.ndi, tap0901 |
| 74 | + |
| 75 | +;--------------------------------------------------------------- |
| 76 | +; Driver Section (Done) |
| 77 | +;--------------------------------------------------------------- |
| 78 | + |
| 79 | +;----------------- Characteristics ------------ |
| 80 | +; NCF_PHYSICAL = 0x04 |
| 81 | +; NCF_VIRTUAL = 0x01 |
| 82 | +; NCF_SOFTWARE_ENUMERATED = 0x02 |
| 83 | +; NCF_HIDDEN = 0x08 |
| 84 | +; NCF_NO_SERVICE = 0x10 |
| 85 | +; NCF_HAS_UI = 0x80 |
| 86 | +;----------------- Characteristics ------------ |
| 87 | + |
| 88 | +[tap0901.ndi] |
| 89 | + CopyFiles = tap0901.driver, tap0901.files |
| 90 | + AddReg = tap0901.reg |
| 91 | + AddReg = tap0901.params.reg |
| 92 | + Characteristics = 0x81 |
| 93 | + |
| 94 | +[tap0901.ndi.Services] |
| 95 | + AddService = tap0901, 2, tap0901.service |
| 96 | + |
| 97 | +[tap0901.reg] |
| 98 | + HKR, Ndi, Service, 0, "tap0901" |
| 99 | + HKR, Ndi\Interfaces, UpperRange, 0, "ndis5" |
| 100 | + HKR, Ndi\Interfaces, LowerRange, 0, "ethernet" |
| 101 | + HKR, , Manufacturer, 0, "%Provider%" |
| 102 | + HKR, , ProductName, 0, "%DeviceDescription%" |
| 103 | + |
| 104 | +[tap0901.params.reg] |
| 105 | + HKR, Ndi\params\MTU, ParamDesc, 0, "MTU" |
| 106 | + HKR, Ndi\params\MTU, Type, 0, "int" |
| 107 | + HKR, Ndi\params\MTU, Default, 0, "1500" |
| 108 | + HKR, Ndi\params\MTU, Optional, 0, "0" |
| 109 | + HKR, Ndi\params\MTU, Min, 0, "100" |
| 110 | + HKR, Ndi\params\MTU, Max, 0, "1500" |
| 111 | + HKR, Ndi\params\MTU, Step, 0, "1" |
| 112 | + HKR, Ndi\params\MediaStatus, ParamDesc, 0, "Media Status" |
| 113 | + HKR, Ndi\params\MediaStatus, Type, 0, "enum" |
| 114 | + HKR, Ndi\params\MediaStatus, Default, 0, "0" |
| 115 | + HKR, Ndi\params\MediaStatus, Optional, 0, "0" |
| 116 | + HKR, Ndi\params\MediaStatus\enum, "0", 0, "Application Controlled" |
| 117 | + HKR, Ndi\params\MediaStatus\enum, "1", 0, "Always Connected" |
| 118 | + HKR, Ndi\params\MAC, ParamDesc, 0, "MAC Address" |
| 119 | + HKR, Ndi\params\MAC, Type, 0, "edit" |
| 120 | + HKR, Ndi\params\MAC, Optional, 0, "1" |
| 121 | + HKR, Ndi\params\AllowNonAdmin, ParamDesc, 0, "Non-Admin Access" |
| 122 | + HKR, Ndi\params\AllowNonAdmin, Type, 0, "enum" |
| 123 | + HKR, Ndi\params\AllowNonAdmin, Default, 0, "1" |
| 124 | + HKR, Ndi\params\AllowNonAdmin, Optional, 0, "0" |
| 125 | + HKR, Ndi\params\AllowNonAdmin\enum, "0", 0, "Not Allowed" |
| 126 | + HKR, Ndi\params\AllowNonAdmin\enum, "1", 0, "Allowed" |
| 127 | + |
| 128 | +;---------------------------------------------------------------- |
| 129 | +; Service Section |
| 130 | +;---------------------------------------------------------------- |
| 131 | + |
| 132 | +;---------- Service Type ------------- |
| 133 | +; SERVICE_KERNEL_DRIVER = 0x01 |
| 134 | +; SERVICE_WIN32_OWN_PROCESS = 0x10 |
| 135 | +;---------- Service Type ------------- |
| 136 | + |
| 137 | +;---------- Start Mode --------------- |
| 138 | +; SERVICE_BOOT_START = 0x0 |
| 139 | +; SERVICE_SYSTEM_START = 0x1 |
| 140 | +; SERVICE_AUTO_START = 0x2 |
| 141 | +; SERVICE_DEMAND_START = 0x3 |
| 142 | +; SERVICE_DISABLED = 0x4 |
| 143 | +;---------- Start Mode --------------- |
| 144 | + |
| 145 | +[tap0901.service] |
| 146 | + DisplayName = %DeviceDescription% |
| 147 | + ServiceType = 1 |
| 148 | + StartType = 3 |
| 149 | + ErrorControl = 1 |
| 150 | + LoadOrderGroup = NDIS |
| 151 | + ServiceBinary = %12%\tap0901.sys |
| 152 | + |
| 153 | +;----------------------------------------------------------------- |
| 154 | +; File Installation |
| 155 | +;----------------------------------------------------------------- |
| 156 | + |
| 157 | +;----------------- Copy Flags ------------ |
| 158 | +; COPYFLG_NOSKIP = 0x02 |
| 159 | +; COPYFLG_NOVERSIONCHECK = 0x04 |
| 160 | +;----------------- Copy Flags ------------ |
| 161 | + |
| 162 | +; SourceDisksNames |
| 163 | +; diskid = description[, [tagfile] [, <unused>, subdir]] |
| 164 | +; 1 = "Intel Driver Disk 1",e100bex.sys,, |
| 165 | + |
| 166 | +[SourceDisksNames] |
| 167 | + 1 = %DeviceDescription%, tap0901.sys |
| 168 | + |
| 169 | +; SourceDisksFiles |
| 170 | +; filename_on_source = diskID[, [subdir][, size]] |
| 171 | +; e100bex.sys = 1,, ; on distribution disk 1 |
| 172 | + |
| 173 | +[SourceDisksFiles] |
| 174 | +tap0901.sys = 1 |
| 175 | + |
| 176 | +[DestinationDirs] |
| 177 | + tap0901.files = 11 |
| 178 | + tap0901.driver = 12 |
| 179 | + |
| 180 | +[tap0901.files] |
| 181 | +; TapPanel.cpl,,,6 ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK |
| 182 | +; cipsrvr.exe,,,6 ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK |
| 183 | + |
| 184 | +[tap0901.driver] |
| 185 | + tap0901.sys,,,6 ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK |
| 186 | + |
| 187 | +;--------------------------------------------------------------- |
| 188 | +; End |
| 189 | +;--------------------------------------------------------------- |
0 commit comments