;*************************************************************************************
;
; Name      :  ssudnd5.inf
;
; Function  :  Install  Miniport Ethernet Adapter device driver on Windows 2000/XP/VISTA/7
;
; Copyright (c) DEVGURU Co., LTD. (www.devguru.co.kr)
;
;*************************************************************************************


[version]
Signature   = "$Windows NT$"
Class       = Net
ClassGUID   = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider    = %Msft%
DriverVer=09/16/2010,2.9.5.0916
Catalogfile = ssudnd5.cat

[ControlFlags]
ExcludeFromSelect=*

[Manufacturer]
%Msft% = Msft,NTx86, NTamd64

; For Win2K
[Msft]
%USB\SAMSUNG_MOBILE&EEMNET.DeviceDesc% = ssud.Install, USB\SAMSUNG_MOBILE&EEMNET
%USB\SAMSUNG_MOBILE&ECMNET.DeviceDesc% = ssud.Install, USB\SAMSUNG_MOBILE&ECMNET

; For WinXP and later
[Msft.NTx86]
%USB\SAMSUNG_MOBILE&EEMNET.DeviceDesc% = ssud.Install, USB\SAMSUNG_MOBILE&EEMNET
%USB\SAMSUNG_MOBILE&ECMNET.DeviceDesc% = ssud.Install, USB\SAMSUNG_MOBILE&ECMNET

; For WinXP and later
[Msft.NTamd64]
%USB\SAMSUNG_MOBILE&EEMNET.DeviceDesc% = ssud.Install, USB\SAMSUNG_MOBILE&EEMNET
%USB\SAMSUNG_MOBILE&ECMNET.DeviceDesc% = ssud.Install, USB\SAMSUNG_MOBILE&ECMNET

;-------------------------------------------------------------------------------
;
[ssud.Install.nt]
Characteristics = 0x84 ; NCF_PHYSICAL,NCF_HAS_UI 
BusType         = 15 ; if you specify NCF_PHYSICAL, you must specify bustype
AddReg          = ssud.Reg, ParamsPromiscuous
CopyFiles       = ssud.CopyFiles

[ssud.Install.NT.Services]
AddService      = ssudnd5, 2, ssud.Service, ssud.EventLog


;-----------------------------------------------------------------------------
;
[ssud.Reg]
HKR,    ,                         BusNumber,           0, "0"
HKR, Ndi,                         Service,             0, "ssudnd5"
HKR, Ndi\Interfaces,              UpperRange,          0, "ndis5"
HKR, Ndi\Interfaces,              LowerRange,          0, "ethernet"

[ParamsPromiscuous]
;
;    Should the physical NIC be set to Promiscuous mode
;
HKR, Ndi\Params\Promiscuous,     ParamDesc, , %Promiscuous%
HKR, Ndi\Params\Promiscuous,     Default,  ,"0"
HKR, Ndi\Params\Promiscuous,     type, ,      enum
HKR, Ndi\Params\Promiscuous\enum,"1",  ,     %Promiscuous_Enable%
HKR, Ndi\Params\Promiscuous\enum,"0",  ,     %Promiscuous_Disable%


;-----------------------------------------------------------------------------
; DestinationDirs
;
[DestinationDirs]
ssud.CopyFiles = 12

[ssud.CopyFiles]
ssudnd5.sys,,,2

;-----------------------------------------------------------------------------
; Driver and Service Section
;

[ssud.Service]
DisplayName     = %ssud.Service.DispName%
Description	= %ssud.Service.Desc%
ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%
StartType       = 3 ;%SERVICE_DEMAND_START%
ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\ssudnd5.sys
LoadOrderGroup  = NDIS
AddReg          = TextModeFlags.Reg

[ssud.EventLog]
AddReg = ssud.AddEventLog.Reg

[ssud.AddEventLog.Reg]
HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
HKR, , TypesSupported,   0x00010001, 7

[TextModeFlags.Reg]
HKR, , TextModeFlags,    0x00010001, 0x0001

[SourceDisksNames.x86]
1 = %DiskId1%,,,\i386

[SourceDisksNames.amd64]
1 = %DiskId1%,,,\amd64

[SourceDisksFiles]
ssudnd5.sys  = 1,,

;
;--- ssud.Install WDF Coinstaller installation ------
;
[DestinationDirs]
ssud_CoInstaller_CopyFiles = 11

[ssud.Install.NT.CoInstallers]
AddReg=ssud_CoInstaller_AddReg
CopyFiles=ssud_CoInstaller_CopyFiles

[ssud_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01007.dll,WdfCoInstaller"

[ssud_CoInstaller_CopyFiles]
WdfCoInstaller01007.dll

[SourceDisksFiles]
WdfCoInstaller01007.dll=1 ; make sure the number matches with SourceDisksNames

[ssud.Install.NT.Wdf]
KmdfService = ssudnd5, ssud_wdfsect
[ssud_wdfsect]
KmdfLibraryVersion = 1.7



;-----------------------------------------------------------------------------
; Localizable Strings
;
[Strings]
Msft                       = "SAMSUNG Electronics Co., Ltd. "
USB\SAMSUNG_MOBILE&EEMNET.DeviceDesc        = "SAMSUNG Mobile USB Networking (CDC/EEM Ethernet) Drivers (NDIS 5)"
USB\SAMSUNG_MOBILE&ECMNET.DeviceDesc        = "SAMSUNG Mobile USB Networking (CDC/ECM Ethernet) Drivers (NDIS 5)"

ssud.Service.DispName    = "SAMSUNG Mobile USB Networking (CDC Ethernet) Drivers (NDIS 5) (DEVGURU Ver.)"
ssud.Service.Desc = "SAMSUNG Mobile USB Networking (CDC Ethernet) Drivers (NDIS 5) (DEVGURU Ver.)"

DiskId1 = "SAMSUNG Mobile USB Networking (CDC Ethernet) Drivers (NDIS 5) Installation Disk #1"
Promiscuous        = "Set the physical NIC to promiscuous mode"
Promiscuous_Disable = "Disable"
Promiscuous_Enable  = "Enable"

