usbncm.inf
2025-08-11
本文链接为:http://www.usbzh.com/article/detail-1551.html ,欢迎转载,转载请附上本文链接。
;
; UsbNcm.inf
;
[Version]
Signature="$WINDOWS NT$"
Class=Net
ClassGUID={4d36e972-e325-11ce-bfc1-08002be10318}
Provider=%Msft%
CatalogFile=UsbNcm.cat
DriverVer = 04/21/2009,10.0.22621.2506
PnpLockdown=1
[SourceDisksNames]
1 = %DiskName%,,,""
[SourceDisksFiles]
UsbNcm.sys = 1,,
;*****************************************
; Install Section
;*****************************************
[Manufacturer]
%Msft%=Standard,NTamd64
[Standard.NTamd64]
%UsbNcm.DeviceDesc%=UsbNcm_Device, USB\MS_COMP_WINNCM, USB\Class_02&SubClass_0d&Prot_00
; USB\MS_COMP_WINNCM => Windows NCM Function-Side Driver
; Prot_00 => any NCM-compatible device, No encapsulated commands / responses (ref NCM10 4.2)
[UsbNcm_Device.NT]
AddReg=UsbNcm_AddReg
CopyFiles=Drivers_Dir
BusType=15 ; PNPBus
Characteristics=0x84 ; NCF_PHYSICAL
*IfType=6 ; IF_TYPE_ETHERNET_CSMACD
*MediaType=0 ; NdisMedium802_3
*PhysicalMediaType=0 ; NdisPhysicalMediumUnspecified
*IfConnectorPresent = 1 ; true
*ConnectionType = 1 ; NET_IF_CONNECTION_DEDICATED
*DirectionType = 0 ; NET_IF_DIRECTION_SENDRECEIVE
*AccessType = 2 ; NET_IF_ACCESS_BROADCAST
*HardwareLoopback = 0 ; false
[Drivers_Dir]
UsbNcm.sys
[UsbNcm_AddReg]
; By default, USBDevice class uses iProduct descriptor to name the device in
; Device Manager on Windows 8 and higher.
; Uncomment for this device to use %DeviceName% on Windows 8 and higher:
;HKR,,FriendlyName,,%UsbNcm.DeviceDesc%
HKR, Ndi, Service, 0, "UsbNcm"
HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
HKR, Ndi\params\NetworkAddress, ParamDesc, 0, %NetworkAddress.Title%
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, Optional, 0, "1"
;-------------- Service installation
[UsbNcm_Device.NT.Services]
AddService = UsbNcm,%SPSVCINST_ASSOCSERVICE%, UsbNcm_Service_Inst
; -------------- UsbNcm driver install sections
[UsbNcm_Service_Inst]
DisplayName = %UsbNcm.SVCDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\UsbNcm.sys
;
;--- UsbNcm_Device Coinstaller installation ------
;
[DestinationDirs]
DefaultDestDir = 12
[UsbNcm_Device.NT.Wdf]
KmdfService = UsbNcm, UsbNcm_wdfsect
[UsbNcm_wdfsect]
KmdfLibraryVersion = 1.15
[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ClassName="Universal Serial Bus devices"
DiskName = "UsbNcm Host Installation Disk"
UsbNcm.DeviceDesc = "UsbNcm Host Device"
UsbNcm.SVCDESC = "UsbNcm Host Service"
REG_MULTI_SZ = 0x00010000
MSFT="Microsoft"
NetworkAddress.Title="Network Address"
本文链接为:http://www.usbzh.com/article/detail-1551.html ,欢迎转载,转载请附上本文链接。
HID人机交互QQ群:564808376
UAC音频QQ群:218581009
UVC相机QQ群:331552032
BOT&UASP大容量存储QQ群:258159197
STC-USB单片机QQ群:315457461
USB技术交流QQ群2:580684376
USB技术交流QQ群:952873936