📄 usb8023.inf
字号:
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
;
; Use of this sample source code is subject to the terms of the Microsoft
; license agreement under which you licensed this sample source code. If
; you did not accept the terms of the license agreement, you are not
; authorized to use this sample source code. For the terms of the license,
; please see the license agreement between you and Microsoft or, if applicable,
; see the LICENSE.RTF on your install media or the root of your tools installation.
; THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES.
;
;
; USB8023.INF
;
; Stand-alone install script for USB Communications-Class (CDC) Devices
;
; Copyright 1999, Microsoft Corporation
;
; Author: ervinp
;
[Version]
Signature = "$Windows NT$"
Class = Net
ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider = %Microsoft%
[DestinationDirs]
DefaultDestDir = 12
Common.CopyFiles = 12
Common.CopyFiles.Win9x = 11
[Manufacturer]
%WindowsCE% = WindowsCE
[WindowsCE]
;%USB\VID_045E&PID_0301% = CE_RndisMini, USB\VID_045E&PID_0301
%USB\VID_045E&PID_f003% = CE_RndisMini, USB\VID_045E&PID_f003
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; Windows CE RNDIS virtual miniport driver
;
[CE_RndisMini.NT]
Characteristics = 0x84
BusType = 1
AddReg = Common.Reg, CE_RndisMini.Reg
LogConfig = Common.LogConfig
CopyFiles = Common.CopyFiles
[CE_RndisMini.NT.Services]
AddService = USB_CDC, 2, Common.ServiceInst
[CE_RndisMini]
; Win9x install section
DeviceID=usb8023
MaxInstance=1
AddReg = Common.Reg.Win9x, CE_RndisMini.Reg, CE_RndisMini.Reg.Win9x
[CE_RndisMini.Reg.Win9x]
HKR,Ndi,DeviceId,,"USB\VID_045E&PID_0301"
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; (Common Sections)
;
[Common.Reg]
HKR, Ndi, Service, 0, "USB_CDC" ; must match service name
HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
[Common.Reg.Win9x]
HKR,,DevLoader,,*ndis
HKR,,DeviceVxDs,,usb8023.sys
HKR,NDIS,LogDriverName,,"usb8023"
HKR,NDIS,MajorNdisVersion,1,5
HKR,NDIS,MinorNdisVersion,1,0
HKR,Ndi\Interfaces,DefUpper,,"ndis3"
HKR,Ndi\Interfaces,DefLower,,"ethernet"
HKR,Ndi\Interfaces,UpperRange,,"ndis3"
HKR,Ndi\Interfaces,LowerRange,,"ethernet"
; NDIS Install sections
HKR,Ndi\Install,ndis3,,"Common.Win9x.Ndis.Install"
[Common.Win9x.Ndis.Install]
CopyFiles=Common.CopyFiles.Win9x
[Common.LogConfig]
ConfigPriority = HARDRECONFIG
[Common.ServiceInst]
DisplayName = %CommonServiceDisplayName%
ServiceType = 1 ;%SERVICE_KERNEL_DRIVER%
StartType = 3 ;%SERVICE_DEMAND_START%
ErrorControl = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\usb8023.sys
LoadOrderGroup = NDIS
[Common.CopyFiles]
usb8023.sys
rndismp.sys
[Common.CopyFiles.Win9x]
usb8023.sys
rndismp.sys
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[Strings]
WindowsCE = "Microsoft Windows CE"
;USB\VID_045E&PID_0301 = "Microsoft Windows CE RNDIS virtual adapter."
USB\VID_045E&PID_f003 = "Microsoft Windows CE RNDIS virtual adapter."
CommonServiceDisplayName = "USB Communications Class"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -