; ; 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 OR INDEMNITIES. ; ; ; (C) Copyright 2006 Marvell International Ltd. ; All Rights Reserved ; ; Windows Mobile USB Host Setup File ; Copyright (c) Microsoft Corporation ; ; WceRndis.INF -- This is the inf installation script for the stand-alone ; release of RNDIS-over-USB host driver for Windows Mobile USB Function devices. ; [Version] Signature = "$Windows NT$" Class = Net ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318} Provider = %Intel% DriverVer = 06/24/2004,6.0.4068.3 CatalogFile = WceRndis.cat [Manufacturer] %Intel% = WindowsCeDevices,NT.5.1 [WindowsCeDevices] %USB\VID_8086&PID_F003.DeviceDesc% = RNDIS, USB\VID_8086&PID_F003 %USB\VID_8086&PID_F003.DeviceDesc% = RNDIS, USB\VID_1286&PID_F003 ;%USB\Class_EF&SubClass_01&Prot_01.DeviceDesc% = RNDIS, USB\Class_EF&SubClass_01&Prot_01 ;%WindowsCeDevice% = RNDIS, USB\Class_EF&SubClass_01&Prot_01 %USB\Vid_8086&Pid_0aaa.DeviceDesc% = RNDIS, USB\Vid_1286&Pid_0aaa&MI_00 %USB\Vid_8086&Pid_0aaa.DeviceDesc% = RNDIS, USB\Class_E0&SubClass_01&Prot_03 [WindowsCeDevices.NT.5.1] %USB\VID_8086&PID_F003.DeviceDesc% = RNDIS.NT.5.1, USB\VID_1286&PID_F003 ;%USB\Class_EF&SubClass_01&Prot_01.DeviceDesc% = RNDIS.NT.5.1, USB\Class_EF&SubClass_01&Prot_01 %WindowsCeDevice% = RNDIS.NT.5.1, USB\Class_EF&SubClass_01&Prot_01 [ControlFlags] ExcludeFromSelect=* ; Windows 2000 specific sections --------------------------------- [RNDIS.NT] Characteristics = 0x84 ; NCF_PHYSICAL + NCF_HAS_UI BusType = 15 DriverVer = 06/24/2004,6.0.4068.3 AddReg = RNDIS_AddReg_NT, RNDIS_AddReg_Common CopyFiles = RNDIS_CopyFiles_NT [RNDIS.NT.Services] AddService = USB_RNDIS, 2, RNDIS_ServiceInst_NT, RNDIS_EventLog [RNDIS_CopyFiles_NT] ; no rename of files on Windows 2000, use the 'k' names as is usb8023k.sys, , , 0 rndismpk.sys, , , 0 [RNDIS_ServiceInst_NT] DisplayName = %ServiceDisplayName% ServiceType = 1 StartType = 3 ErrorControl = 1 ServiceBinary = %12%\usb8023k.sys LoadOrderGroup = NDIS AddReg = RNDIS_WMI_AddReg_NT [RNDIS_WMI_AddReg_NT] HKR, , MofImagePath, 0x00020000, "System32\drivers\rndismpk.sys" ; Windows XP specific sections ----------------------------------- [RNDIS.NT.5.1] Characteristics = 0x84 ; NCF_PHYSICAL + NCF_HAS_UI BusType = 15 include = netrndis.inf needs = Usb_Rndis.ndi AddReg = Rndis_AddReg_XP ; no copyfiles - the files are already in place [RNDIS.NT.5.1.Services] include = netrndis.inf needs = Usb_Rndis.ndi.Services ; Windows 2000 section -------------------- [RNDIS_AddReg_NT] HKR, Ndi, Service, 0, "USB_RNDIS" HKR, Ndi\Interfaces, UpperRange, 0, "ndis5" HKR, Ndi\Interfaces, LowerRange, 0, "ethernet" [RNDIS_EventLog] AddReg = RNDIS_EventLog_AddReg [RNDIS_EventLog_AddReg] HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll" HKR, , TypesSupported, 0x00010001, 7 ; Windows 2000 AddReg section, provided by netrndis.inf in Windows XP----- [RNDIS_AddReg_Common] HKR, NDI\params\NetworkAddress, ParamDesc, 0, %NetworkAddress% HKR, NDI\params\NetworkAddress, type, 0, "edit" HKR, NDI\params\NetworkAddress, LimitText, 0, "12" HKR, NDI\params\NetworkAddress, UpperCase, 0, "1" HKR, NDI\params\NetworkAddress, default, 0, " " HKR, NDI\params\NetworkAddress, optional, 0, "1" ; An optional Windows XP Property to demonstrate adding advanced properties on Windows XP [RNDIS_AddReg_XP] HKR, NDI\params\XPProperty, ParamDesc, 0, %XP_Property% HKR, NDI\params\XPProperty, type, 0, "edit" HKR, NDI\params\XPProperty, LimitText, 0, "12" HKR, NDI\params\XPProperty, UpperCase, 0, "1" HKR, NDI\params\XPProperty, default, 0, " " HKR, NDI\params\XPProperty, optional, 0, "1" [SourceDisksNames] 1=%SourceDisk%,,1 [SourceDisksFiles] usb8023k.sys=1 rndismpk.sys=1 [DestinationDirs] RNDIS_CopyFiles_NT = 12 [Strings] ServiceDisplayName = "USB Remote NDIS Network Device Driver" NetworkAddress = "Network Address" XP_Property = "Optonal XP Property" Microsoft = "Microsoft Corporation" WindowsCeDevice = "Microsoft Windows Ce USB Remote NDIS Network Device" SourceDisk = "Microsoft Windows Ce USB Network Driver Install Disk" USB\VID_8086&PID_F003.DeviceDesc = "Microsoft Windows Mobile Device" USB\Class_EF&SubClass_01&Prot_01.DeviceDesc = "Microsoft Windows Mobile Device" USB\Vid_0525&Pid_0aaa.DeviceDesc = "Intel RNDIS Class" USB\Class_E0&SubClass_02&Prot_03.DeviceDesc = "Intel RNDIS Class"