1; 2; Template INF for a USB Remote NDIS Device 3; Copyright (c) Microsoft Corporation 4; 5 6[Version] 7Signature = "$Windows NT$" 8Class = Net 9ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318} 10Provider = %MicrosoftAzureRTOS% 11DriverVer = mm/dd/yyyy,x.y.v.z 12CatalogFile = MicrosoftAzureRTOS.cat 13 14[Manufacturer] 15%MicrosoftAzureRTOS% = MicrosoftAzureRTOSDevices,NT.5.1 16 17[MicrosoftAzureRTOSDevices] 18%MicrosoftAzureRTOSDevice% = RNDIS, USB\VID_3939&PID_0000 19 20[MicrosoftAzureRTOSDevices.NT.5.1] 21%MicrosoftAzureRTOSDevice% = RNDIS.NT.5.1, USB\VID_3939&PID_0000 22 23[ControlFlags] 24ExcludeFromSelect=* 25 26; Windows 2000 specific sections --------------------------------- 27 28[RNDIS.NT] 29Characteristics = 0x84 ; NCF_PHYSICAL + NCF_HAS_UI 30BusType = 15 31DriverVer = 05/17/2008,0.0.0.0 32AddReg = RNDIS_AddReg_NT, RNDIS_AddReg_WIN2K 33CopyFiles = RNDIS_CopyFiles_NT 34 35; DO NOT MODIFY THE SERVICE NAME 36[RNDIS.NT.Services] 37AddService = USB_RNDISY, 2, RNDIS_ServiceInst_NT, RNDIS_EventLog 38 39[RNDIS_CopyFiles_NT] 40; no rename of files on Windows 2000, use the 'y' names as is 41usb8023y.sys, , , 0 42rndismpy.sys, , , 0 43 44[RNDIS_ServiceInst_NT] 45DisplayName = %ServiceDisplayName% 46ServiceType = 1 47StartType = 3 48ErrorControl = 1 49ServiceBinary = %12%\usb8023y.sys 50LoadOrderGroup = NDIS 51AddReg = RNDIS_WMI_AddReg_NT 52 53[RNDIS_WMI_AddReg_NT] 54HKR, , MofImagePath, 0x00020000, "System32\drivers\rndismpy.sys" 55 56; Windows XP specific sections ----------------------------------- 57 58[RNDIS.NT.5.1] 59Characteristics = 0x84 ; NCF_PHYSICAL + NCF_HAS_UI 60BusType = 15 61DriverVer = 05/17/2008,0.0.0.0 62AddReg = RNDIS_AddReg_XP 63include = netrndis.inf 64needs = Usb_Rndis.ndi 65 66; no copyfiles - the files are already in place 67 68[RNDIS.NT.5.1.Services] 69include = netrndis.inf 70needs = Usb_Rndis.ndi.Services 71 72; Windows 2000 sections 73 74; DO NOT MODIFY ServiceName 75[RNDIS_AddReg_NT] 76HKR, Ndi, Service, 0, "USB_RNDISY" 77HKR, Ndi\Interfaces, UpperRange, 0, "ndis5" 78HKR, Ndi\Interfaces, LowerRange, 0, "ethernet" 79 80[RNDIS_AddReg_WIN2K] 81HKR, , ReclaimRecv, 0x00010001, 1 82HKR, NDI\params\NetworkAddress, ParamDesc, 0, %NetworkAddress% 83HKR, NDI\params\NetworkAddress, type, 0, "edit" 84HKR, NDI\params\NetworkAddress, LimitText, 0, "12" 85HKR, NDI\params\NetworkAddress, UpperCase, 0, "1" 86HKR, NDI\params\NetworkAddress, default, 0, " " 87HKR, NDI\params\NetworkAddress, optional, 0, "1" 88 89[RNDIS_EventLog] 90AddReg = RNDIS_EventLog_AddReg 91 92[RNDIS_EventLog_AddReg] 93HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll" 94HKR, , TypesSupported, 0x00010001, 7 95 96; An optional Property to demonstrate adding advanced properties on Windows XP 97[RNDIS_AddReg_XP] 98HKR, NDI\params\XPProperty, ParamDesc, 0, %Sample_Property% 99HKR, NDI\params\XPProperty, type, 0, "edit" 100HKR, NDI\params\XPProperty, LimitText, 0, "12" 101HKR, NDI\params\XPProperty, UpperCase, 0, "1" 102HKR, NDI\params\XPProperty, default, 0, " " 103HKR, NDI\params\XPProperty, optional, 0, "1" 104 105 106[SourceDisksNames] 1071=%SourceDisk%,,1 108 109[SourceDisksFiles] 110usb8023y.sys=1 111rndismpy.sys=1 112 113[DestinationDirs] 114RNDIS_CopyFiles_NT = 12 115 116; DO NOT CHANGE ServiceDisplayName 117[Strings] 118ServiceDisplayName = "USB Remote NDIS Y Network Device Driver" 119Sample_Property = "Sample XP property" 120NetworkAddress = "Network Address" 121MicrosoftAzureRTOS = "Microsoft Corporation Inc." 122MicrosoftAzureRTOSDevice = "Microsoft Azure RTOS USB Remote NDIS Network Device" 123SourceDisk = "Microsoft Azure RTOS USB Network Driver Install Disk" 124 125