Update Windows RNDIS driver template.
This commit is contained in:
		
							parent
							
								
									fbc57f965e
								
							
						
					
					
						commit
						91eb7c34c7
					
				
					 3 changed files with 129 additions and 117 deletions
				
			
		| 
						 | 
				
			
			@ -2,51 +2,55 @@
 | 
			
		|||
; Copyright (c) 2000 Microsoft Corporation
 | 
			
		||||
 | 
			
		||||
[Version]
 | 
			
		||||
Signature           = "$Windows NT$"
 | 
			
		||||
Class               = Net
 | 
			
		||||
ClassGUID           = {4d36e972-e325-11ce-bfc1-08002be10318}
 | 
			
		||||
Provider            = %COMPANY%
 | 
			
		||||
DriverVer           = 06/21/2006,6.0.6000.16384
 | 
			
		||||
;CatalogFile        = device.cat
 | 
			
		||||
Signature="$Windows NT$"
 | 
			
		||||
Class=Net
 | 
			
		||||
ClassGUID={4d36e972-e325-11ce-bfc1-08002be10318}
 | 
			
		||||
Provider=%MFGNAME%
 | 
			
		||||
DriverVer=7/1/2012,10.0.0.0
 | 
			
		||||
 | 
			
		||||
[Manufacturer]
 | 
			
		||||
%COMPANY%         = RndisDevices,NTx86,NTamd64,NTia64
 | 
			
		||||
%MFGNAME%=DeviceList, NTx86, NTamd64, NTia64
 | 
			
		||||
 | 
			
		||||
; Decoration for x86 architecture
 | 
			
		||||
[RndisDevices.NTx86]
 | 
			
		||||
%RNDISDEV%    = RNDIS.NT.5.1, USB\VID_03EB&PID_204C
 | 
			
		||||
 | 
			
		||||
; Decoration for x64 architecture
 | 
			
		||||
[RndisDevices.NTamd64]
 | 
			
		||||
%RNDISDEV%    = RNDIS.NT.5.1, USB\VID_03EB&PID_204C
 | 
			
		||||
 | 
			
		||||
; Decoration for ia64 architecture
 | 
			
		||||
[RndisDevices.NTia64]
 | 
			
		||||
%RNDISDEV%    = RNDIS.NT.5.1, USB\VID_03EB&PID_204C
 | 
			
		||||
 | 
			
		||||
;@@@ This is the common setting for setup
 | 
			
		||||
[ControlFlags]
 | 
			
		||||
ExcludeFromSelect=*
 | 
			
		||||
 | 
			
		||||
; DDInstall section
 | 
			
		||||
; References the in-build Netrndis.inf
 | 
			
		||||
[RNDIS.NT.5.1]
 | 
			
		||||
Characteristics = 0x84   ; NCF_PHYSICAL + NCF_HAS_UI
 | 
			
		||||
BusType         = 15
 | 
			
		||||
; NEVER REMOVE THE FOLLOWING REFERENCE FOR NETRNDIS.INF
 | 
			
		||||
include         = netrndis.inf
 | 
			
		||||
needs           = Usb_Rndis.ndi
 | 
			
		||||
AddReg          = Rndis_AddReg_Vista
 | 
			
		||||
[DriverInstall]
 | 
			
		||||
Characteristics=0x84 ; NCF_PHYSICAL + NCF_HAS_UI
 | 
			
		||||
BusType=15
 | 
			
		||||
include=netrndis.inf
 | 
			
		||||
needs=Usb_Rndis.ndi
 | 
			
		||||
AddReg=Rndis_AddReg_Vista
 | 
			
		||||
 | 
			
		||||
; DDInstal.Services section
 | 
			
		||||
[RNDIS.NT.5.1.Services]
 | 
			
		||||
include     = netrndis.inf
 | 
			
		||||
needs       = Usb_Rndis.ndi.Services
 | 
			
		||||
[DriverInstall.Services]
 | 
			
		||||
include=netrndis.inf
 | 
			
		||||
needs=Usb_Rndis.ndi.Services
 | 
			
		||||
 | 
			
		||||
; No sys copyfiles - the sys files are already in-build 
 | 
			
		||||
; (part of the operating system).
 | 
			
		||||
;------------------------------------------------------------------------------
 | 
			
		||||
;  Vendor and Product ID Definitions
 | 
			
		||||
;------------------------------------------------------------------------------
 | 
			
		||||
; When developing your USB device, the VID and PID used in the PC side
 | 
			
		||||
; application program and the firmware on the microcontroller must match.
 | 
			
		||||
; Modify the below line to use your VID and PID.  Use the format as shown below.
 | 
			
		||||
; Note: One INF file can be used for multiple devices with different VID and PIDs.
 | 
			
		||||
; For each supported device, append ",USB\VID_xxxx&PID_yyyy" to the end of the line.
 | 
			
		||||
;------------------------------------------------------------------------------
 | 
			
		||||
[DeviceList]
 | 
			
		||||
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204C
 | 
			
		||||
 | 
			
		||||
; Modify these strings for your device as needed.
 | 
			
		||||
[Strings] 
 | 
			
		||||
COMPANY="LUFA Library"
 | 
			
		||||
RNDISDEV="LUFA USB RNDIS Demo"
 | 
			
		||||
[DeviceList.NTx86]
 | 
			
		||||
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204C
 | 
			
		||||
 | 
			
		||||
[DeviceList.NTamd64]
 | 
			
		||||
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204C
 | 
			
		||||
 | 
			
		||||
[DeviceList.NTia64]
 | 
			
		||||
%DESCRIPTION%=DriverInstall, USB\VID_03EB&PID_204C
 | 
			
		||||
 | 
			
		||||
;------------------------------------------------------------------------------
 | 
			
		||||
;  String Definitions
 | 
			
		||||
;------------------------------------------------------------------------------
 | 
			
		||||
;Modify these strings to customize your device
 | 
			
		||||
;------------------------------------------------------------------------------
 | 
			
		||||
[Strings]
 | 
			
		||||
MFGNAME="http://www.lufa-lib.org"
 | 
			
		||||
DESCRIPTION="LUFA USB RNDIS Demo"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue